Force transfer (validation || external Agent wallet)
POST {{base_url_servicing}}/tokens/{{token_id}}/actions/validate/forced-transfer
https://docs.tokeny.com/reference/validateforcedtransfertokens
Validate forced tokens transfer
Validate forced transfer of a specified amount of token from a given wallet to a given wallet.
StartFragment
This endpoint verifies that the transaction will be successful on the blockchain, before actually sending it and paying fees. It returns the transactionData
that you will need to send onchain.
EndFragment
Request Body
{"ethereumNetwork"=>"{{network}}", "amount"=>"1", "tokenAddress"=>"0x27e55a309b7bb9ddbc70bed7dfa1431d6c816fbd", "walletFrom"=>"0x0de68aae8b95cf79352dcb01477b52d95e395297", "walletTo"=>"0x54d00d07aee10f2a847d6efd5aec0aa316131718"}
RESPONSES
status: OK
{"gasEstimation":"186755","transactionData":"0x9fc1d0e70000000000000000000000000de68aae8b95cf79352dcb01477b52d95e39529700000000000000000000000054d00d07aee10f2a847d6efd5aec0aa3161317180000000000000000000000000000000000000000000000000000000000000001","agentWallet":"0x28e1e589B5d4753328cF049dB0dEDb0c85b89785"}