Map NFTs

This call maps the supplied NFTs to the supplied FIO Handle, so that it can be returned using /get_nfts_fio_address.It will allow anyone to see which FIO Handle has mapped ("signed") a particular NFT.

You may pass up to 3 public addresses in a single call. A maximum of 200 public addresses may be mapped to a FIO Handle.

The actor must own the supplied FIO Handle.

See NFT Signatures Guide for more information.

🚧

This action has to be serialized and signed!

Please note that this action has to be be serialized and signed before it's sent to the blockchain. The request object below only represents the action specific parameters and action specific response. See Write Transactions Guide for more information.

Actions parameters

  • account: fio.address
  • name: addnft

SDK Sandbox Example

Stackblitz

Body Params
string
required
length between 3 and 64

FIO Handle. It used to be called FIO Address, so you will still see it referred to as such.

nfts
array of objects
required
length between 1 and 3

Maximum of 3 NFTs can be mapped to single FIO Handle at any one time.

nfts*
string
required
length between 1 and 10
string
required
length between 1 and 128

NFT contract address.

string
required
length between 1 and 64

NFT token ID.

string
required
length between 0 and 128

URL of NFT asset. For example, the media URL.

string
required
length between 0 and 64

SHA-256 hash of NFT asset.

string
required
length between 0 and 128

JSON formatted metadata. For example, creator URL.

integer
required
Defaults to 10000000000000

Maximum amount of SUFs the user is willing to pay for on-chain fee. Should be preceded by /get_fee for correct value.

Alternatively, you can set this number to a very high value, e.g. 10000000000000, since the user will only be charged the actual amount of the fee.

See

string
required
length between 3 and 64
Defaults to vitalik@safu

FIO Handle of the wallet which generated this transaction. This FIO Handle will be paid 10% of the fee collected. Set to empty if not known.

See Transaction Provider ID (TPID) Guide for more information.

string
required

Represents FIO Account which will execute the action. In most cases this is the hashed FIO Public Key.

Response

Language
URL
Request
Choose an example:
application/json