@sentio/sdk
    Preparing search index...
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    abi: readonly [
        {
            anonymous: false;
            inputs: readonly [
                {
                    indexed: true;
                    internalType: "address";
                    name: "owner";
                    type: "address";
                },
                {
                    indexed: true;
                    internalType: "address";
                    name: "approved";
                    type: "address";
                },
                {
                    indexed: true;
                    internalType: "uint256";
                    name: "tokenId";
                    type: "uint256";
                },
            ];
            name: "Approval";
            type: "event";
        },
        {
            anonymous: false;
            inputs: readonly [
                {
                    indexed: true;
                    internalType: "address";
                    name: "owner";
                    type: "address";
                },
                {
                    indexed: true;
                    internalType: "address";
                    name: "operator";
                    type: "address";
                },
                { indexed: false; internalType: "bool"; name: "approved"; type: "bool" },
            ];
            name: "ApprovalForAll";
            type: "event";
        },
        {
            anonymous: false;
            inputs: readonly [
                {
                    indexed: true;
                    internalType: "address";
                    name: "from";
                    type: "address";
                },
                { indexed: true; internalType: "address"; name: "to"; type: "address" },
                {
                    indexed: true;
                    internalType: "uint256";
                    name: "tokenId";
                    type: "uint256";
                },
            ];
            name: "Transfer";
            type: "event";
        },
        {
            inputs: readonly [
                { internalType: "address"; name: "to"; type: "address" },
                { internalType: "uint256"; name: "tokenId"; type: "uint256" },
            ];
            name: "approve";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        },
        {
            constant: true;
            inputs: readonly [];
            name: "totalSupply";
            outputs: readonly [{ name: ""; type: "uint256" }];
            payable: false;
            stateMutability: "view";
            type: "function";
        },
        {
            inputs: readonly [
                { internalType: "address"; name: "owner"; type: "address" },
            ];
            name: "balanceOf";
            outputs: readonly [
                { internalType: "uint256"; name: "balance"; type: "uint256" },
            ];
            stateMutability: "view";
            type: "function";
        },
        {
            inputs: readonly [
                { internalType: "uint256"; name: "tokenId"; type: "uint256" },
            ];
            name: "getApproved";
            outputs: readonly [
                { internalType: "address"; name: "operator"; type: "address" },
            ];
            stateMutability: "view";
            type: "function";
        },
        {
            inputs: readonly [
                { internalType: "address"; name: "owner"; type: "address" },
                { internalType: "address"; name: "operator"; type: "address" },
            ];
            name: "isApprovedForAll";
            outputs: readonly [{ internalType: "bool"; name: ""; type: "bool" }];
            stateMutability: "view";
            type: "function";
        },
        {
            inputs: readonly [];
            name: "name";
            outputs: readonly [{ internalType: "string"; name: ""; type: "string" }];
            stateMutability: "view";
            type: "function";
        },
        {
            inputs: readonly [
                { internalType: "uint256"; name: "tokenId"; type: "uint256" },
            ];
            name: "ownerOf";
            outputs: readonly [
                { internalType: "address"; name: "owner"; type: "address" },
            ];
            stateMutability: "view";
            type: "function";
        },
        {
            inputs: readonly [
                { internalType: "address"; name: "from"; type: "address" },
                { internalType: "address"; name: "to"; type: "address" },
                { internalType: "uint256"; name: "tokenId"; type: "uint256" },
            ];
            name: "safeTransferFrom";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        },
        {
            inputs: readonly [
                { internalType: "address"; name: "from"; type: "address" },
                { internalType: "address"; name: "to"; type: "address" },
                { internalType: "uint256"; name: "tokenId"; type: "uint256" },
                { internalType: "bytes"; name: "data"; type: "bytes" },
            ];
            name: "safeTransferFrom";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        },
        {
            inputs: readonly [
                { internalType: "address"; name: "operator"; type: "address" },
                { internalType: "bool"; name: "_approved"; type: "bool" },
            ];
            name: "setApprovalForAll";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        },
        {
            inputs: readonly [
                { internalType: "bytes4"; name: "interfaceId"; type: "bytes4" },
            ];
            name: "supportsInterface";
            outputs: readonly [{ internalType: "bool"; name: ""; type: "bool" }];
            stateMutability: "view";
            type: "function";
        },
        {
            inputs: readonly [];
            name: "symbol";
            outputs: readonly [{ internalType: "string"; name: ""; type: "string" }];
            stateMutability: "view";
            type: "function";
        },
        {
            inputs: readonly [
                { internalType: "uint256"; name: "tokenId"; type: "uint256" },
            ];
            name: "tokenURI";
            outputs: readonly [{ internalType: "string"; name: ""; type: "string" }];
            stateMutability: "view";
            type: "function";
        },
        {
            inputs: readonly [
                { internalType: "address"; name: "from"; type: "address" },
                { internalType: "address"; name: "to"; type: "address" },
                { internalType: "uint256"; name: "tokenId"; type: "uint256" },
            ];
            name: "transferFrom";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        },
    ] = _abi

    Methods

    • Parameters

      • address: string
      • signerOrProvider: Provider | Signer

      Returns ERC721