Transfer a fungible token

How to perform a fungible token transfer. E.g transfer ERC1155 token from one wallet to another.

Request Endpoint: reference

POST /api/transactions/execute
ParameterParam TypeValueDescriptionExample Value
Signing-MethodHeaderid:valueid: This is the ID of the signing method
value: This is the value of the signing method
ParameterParam TypeDescriptionData TypeMandatory
transactionRequestBodyThis object includes the transaction informationObjectโœ…
transactionRequest.typeBodyThis will be NFT_TRANSFERStringโœ…
transactionRequest.walletIdBodyThe id of the wallet that will initiate the txStringโœ…
transactionRequest.toBodyDestination Address (can be a blockchain address or email address)Stringโœ…
transactionRequest.secretTypeBodyOn which blockchain the tx will be executedStringโœ…
transactionRequest.tokenAddressBodyThe token contract addressStringโœ…
transactionRequest.valueBodyThe amount you want to transferIntegerโœ…
transactionRequest.tokenIdBodyThe ID of the token you want to transfer in case of a fungible token.Integerโœ…
pincode (Deprecated)BodyPIN related to the wallet IDStringโŒ

Request Body:

    "transactionRequest": {  
         "type": "NFT_TRANSFER",
        "walletId": "c4c97f87-8e00-4f3a-8647-2f24ac9b73cb",
        "to": "0x2D24b9DE4F963d1Cfac1a65b6F1a85945d3e92F5",  
        "value": "2",  
        "secretType": "MATIC",   
        "tokenAddress": "0xd687ed37ed8ed56ab91387755432a3c8f197455d",
        "tokenId": 34

Response Body:

    "success": true,
    "result": {
        "id": "e0487e86-a1e7-4aaf-b79a-ad31f18d57b7",
        "transactionHash": "0x79ad8e02249edde79735b35289a394129d4105ce02acaca61f12b15134f28832"