Send NFT To Wallet

The API allows you to send a NFT via solana wallet address to another user


GRAPHQL


Headers

FieldsTypeDescriptionExampleData Management
URLstring{base_url}/creators
GRAPHQLstringMUTATION
content-typestringJSONapplication/json
x-access-tokenstringsession token with validitytokencreator token

Request

mutation {
  send_nft_to_wallet(nft_id: "2iRD8A88h1SRkK1Hhra53jqnfEkhXx5mK58PvLb5YTRW", dest_wallet_id: "6Qq7ERSHTZGnPpWarzbf1ZU9AMTqJgdj7WA16eSRiyZ4") {
    message
  }
}



Request Parameters

FieldsTypeDescriptionRequired
dest_wallet_idstringpublic address of the wallet
nft_idstringpublic address of the nft

Success

{
    "data": {
        "send_nft_to_wallet": {
            "message": "NFT sent successfully"
        }
    }
}

Error

{
    "errors": [
        {
            "message": "Unauthorized",
            "locations": [
                {
                    "line": 2,
                    "column": 3
                }
            ],
            "path": ["send_nft_to_wallet"]
        }
    ],
    "data": {
        "send_nft_to_wallet": null
    }
}