ERC721 Token
Token ERC721 APIs.
Last updated
Token ERC721 APIs.
Last updated
Real Server : https://api.lmtls.io/v1/chain/erc721
Test Server : https://test-api.lmtls.io/v1/chain/erc721
Return an address Token balance.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Return a minted tokenId.
Create new token with uri data. Only the token owner can do this..
A transactionId is returned, but that doesn't mean it has been added to the Block yet. You should check that the status is 1 by using net_getTransactionStatus.
The generated tokenId can be checked using erc721_getMintedTokenId API.
Returns an owner and uri data of tokenId.
Transfer NFT owner from from-address to to-address.
A transactionId is returned, but that doesn't mean it has been added to the Block yet. You should check that the status is 1 by using net_getTransactionStatus.
Transfer NFT owner from from-address to to-address by spender address.
A transactionId is returned, but that doesn't mean it has been added to the Block yet. You should check that the status is 1 by using net_getTransactionStatus.
Approve token from owner-address to spender-address.
A transactionId is returned, but that doesn't mean it has been added to the Block yet. You should check that the status is 1 by using net_getTransactionStatus.
Returns an allowed token spender from owner address.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
contractAddress
String
Contract address of token.
address
String
Address
balance
BigInteger
Token balance of address.
transactionId
String
TransactionId of erc721_mint.
tokenId
BigInteger
minted tokenId. If it is an error, this is null .
contractAddress
String
Contract address of token
sender
String
Address
uri
String
The uri data to store in the token. Max length : 100
tempKey
String
tempKey for "mint"
hashKey
String
hash(tempKey | secretKey)
signature
String
sign( hash ( contractAddress | sender | uri | tempKey | hashKey ) ) by owner's privateKey using signData API
gasPrice
BigDecimal
gasPrice
nonce
BigInteger
nonce value. If it is null, it will be filled in automatically. If acceleration is needed, use the nonce value generated when performing the transaction and use a higher gasPrice than the previous transaction.
transactionId
String
Transaction Id
nonce
BigInteger
nonce value
contractAddress
String
Contract address of token
address
String
Address
tokenId
BigInteger
Token Id
owner
String
Owner's address
uri
String
The uri data of token.
contractAddress
String
Contract address of token
sender
String
Sender address
toAddress
String
To address
tokenId
BigInteger
Token Id
tempKey
String
tempKey for "transfer"
hashKey
String
hash(tempKey | fromAddress' secretKey)
signature
String
sign( hash ( contractAddress | sender | toAddress | tokenId | tempKey | hashKey ) ) by formAddress's privateKey using signData API
gasPrice
BigDecimal
gasPrice
nonce
BigInteger
nonce value. If it is null, it will be filled in automatically. If acceleration is needed, use the nonce value generated when performing the transaction and use a higher gasPrice than the previous transaction.
transactionId
String
Transaction Id
none
BigInteger
nonce value
contractAddress
String
Contract address of token
sender
String
Sender address
fromAddress
String
From address
toAddress
String
To address
tokenId
BigInteger
Token Id
tempKey
String
tempKey for "transfer"
hashKey
String
hash(tempKey | fromAddress' secretKey)
signature
String
sign( hash ( contractAddress | sender | fromAddress | toAddress | tokenId | tempKey | hashKey ) ) by address's privateKey using signData API
gasPrice
BigDecimal
gasPrice
nonce
BigInteger
nonce value. If it is null, it will be filled in automatically. If acceleration is needed, use the nonce value generated when performing the transaction and use a higher gasPrice than the previous transaction.
transactionId
String
Transaction Id
nonce
BigInteger
nonce value
contractAddress
String
Contract address of token
sender
String
Sender address
spender
String
Spender address
tokenId
BigInteger
Token Id
tempKey
String
tempKey for "approve"
hashKey
String
hash(tempKey | fromAddress' secretKey)
signature
String
sign( hash ( contractAddress | sender | spender | tokenId | tempKey | hashKey ) ) by formAddress's privateKey using signData API
gasPrice
BigDecimal
gasPrice
nonce
BigInteger
nonce value. If it is null, it will be filled in automatically. If acceleration is needed, use the nonce value generated when performing the transaction and use a higher gasPrice than the previous transaction.
transactionId
String
Transaction Id
contractAddress
String
Contract address of token.
address
String
Owner address
tokenId
BigInteger
Token Id
address
String
Spender's address