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
756ae7a7-3713-43ee-9936-0dff50306488:123456
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"
    }
}