v1

latestOpenAPI 3.0.32026-07-1320201.0 MB
Ethereum Transactions

Create ERC721 transaction

post/api/v2/ethereum/transactions/erc721

Headers

X-Network'testnet' | 'mainnet'

Specify "testnet" for test network or leave empty for main network. Defaults to "mainnet" if not provided.

Authorizationstring required

Bearer token for authorization. Required for authenticated endpoints.

Content-Type'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data' required

The MIME type of the request body.

Request body

fromstring required

The address to send the transaction from. Must match the regex /^(0x)?[0-9a-f]{40}$/i.

contractaddressstring required

The address of the ERC721 contract. Must match the regex /^(0x)?[0-9a-f]{40}$/i.

tostring required

The address to send the transaction to. Must match the regex /^(0x)?[0-9a-f]{40}$/i.

tokenIdinteger required

The token ID to send.

gasinteger

The gas limit for the transaction.

gaspricenumber

The gas price for the transaction.

maxPriorityFeePerGasnumber
maxFeePerGasnumber
passwordstring

This field is required when <code>privatekey</code> is not present.

privatekeystring
datastring
noncestring

Example request

{
  "from": "0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2",
  "contractaddress": "0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2",
  "to": "0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2",
  "tokenId": 1,
  "gas": 21000,
  "gasprice": 1000000000,
  "maxPriorityFeePerGas": 4326.41688,
  "maxFeePerGas": 4326.41688,
  "password": "|]|{+-",
  "privatekey": "architecto",
  "data": "architecto",
  "nonce": "architecto"
}

Response

Succesfully created

statusinteger
okboolean
messagestring

Example response

{
  "status": 201,
  "ok": true,
  "message": "Succesfully created",
  "data": {
    "txid": "0x73344d178812d4919e9002c560781f288030edf72ece88823ef1c377dfb71f27"
  }
}