Skip to content

Approve ERC721 Token Spending

POST
/asset/erc721/approve

Approve an ERC721 token spender for a specific token ID.

Note: This endpoint is in beta and may be subject to changes.

Authorizations

Request Body required

object
spender

The spender address for the ERC721 token.

string
tokenId

The token ID of the ERC721 token.

string
contractDeploymentId

The deployment ID of the ERC721 contract.

string
signingWalletId

The wallet ID used to sign the transaction.

string

Responses

200

Approval successful.

object
queryId
string
uuid

400

Bad request, missing or invalid parameters.

object
code

HTTP status code.

integer
status

Status message, e.g., “INTERNAL_SERVER_ERROR”.

string