Class GumNameService

Hierarchy

  • GumNameService

Constructors

Properties

sdk: SDK

Methods

  • Parameters

    • tldPDA: PublicKey
    • domain: string
    • authority: PublicKey

    Returns Promise<{
        gumDomainPDA: PublicKey;
        instructionMethodBuilder: MethodsBuilder<GplNameservice, Object>;
    }>

  • Parameters

    • tldAccount: PublicKey

    Returns Promise<DecodeStruct<{
        fields: [{
            name: "name";
            type: "string";
        }, {
            name: "authority";
            type: "publicKey";
        }, {
            name: "domain";
            type: "publicKey";
        }];
        kind: "struct";
    }, DecodedHelper<{}, EmptyDefined>>>

  • Returns Promise<GraphQLNameservice[]>

  • Parameters

    • domainName: string

    Returns Promise<GraphQLNameservice>

  • Parameters

    • domain: string

    Returns Promise<GraphQLNameservice>

  • Parameters

    • authority: string

    Returns Promise<GraphQLNameservice[]>

  • Parameters

    • tldPDA: PublicKey
    • domain: string
    • authority: PublicKey

    Returns Promise<PublicKey>

  • Parameters

    • domainPDA: PublicKey
    • currentAuthority: PublicKey
    • newAuthority: PublicKey

    Returns Promise<MethodsBuilder<GplNameservice, Object>>

Generated using TypeDoc