Freeze token(s) from wallet(s) (validation || external Agent wallet)

POST {{base_url_servicing}}/tokens/{{token_id}}/actions/validate/freeze

https://docs.tokeny.com/reference/validatefreezetokensfromwallets

Validate freezing tokens from wallets

Validate freezing a specified amount of token from the given wallets.

This endpoint verifies that the transaction will be successful on the blockchain, before actually sending it and paying fees. It returns the data passed as a transactionData to be sent onchain.

In code, the sender should be agent wallet and the receiver the token smart contract.

Request Body

{"ethereumNetwork"=>"{{network}}", "tokenAddress"=>"0x27e55a309b7bb9ddbc70bed7dfa1431d6c816fbd", "transactions"=>[{"address"=>"0x0de68aae8b95cf79352dcb01477b52d95e395297", "amount"=>"10"}, {"address"=>"0x54d00d07aee10f2a847d6efd5aec0aa316131718", "amount"=>"10"}]}

RESPONSES

status: OK

{"gasEstimation":"63149","transactionData":"0xfc7e5fa8000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000de68aae8b95cf79352dcb01477b52d95e39529700000000000000000000000054d00d07aee10f2a847d6efd5aec0aa3161317180000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a","agentWallet":"0x28e1e589B5d4753328cF049dB0dEDb0c85b89785"}