Signing a payment request

We recommend using our helper to construct the required signatures as described in Generate signed data. However, if that is not possible, you can follow this guide to do it manually.

The data you will need to construct your signature is as follows:

addressStringThe user’s address that receives the token/NFT. It will also act as a fallback address if a smart contract can’t be executed. In case of fallback, we will transfer commodity_amount to this address.0x00000000000000000000000000000
commodityStringCryptocurrency which should be sent to the smart contract, see Supported coins and blockchainscommodity:'ETH'
networkStringNetwork for the cryptocurrency, see Supported coins and blockchainsnetwork: 'ethereum'
commodity_amountNumberAmount of cryptocurrency necessary for executing the given smart contract.
The precision is 8 decimal places; please round up, or you will get a 9004 signature error code.
0.03 (must be less than 8 decimal places)
sc_addressStringThe address of the smart contract.0x00000000000000000000000000000
sc_input_dataStringInput data used for the smart contract execution in hex format.

For Tezos, this must be Michelson code passed as JSON transformed into hex format.

See Forming input data.