Internal Transfer Signature Guide
Generate the EIP 712 Signature:
Use the ethers.js library to sign the EIP 712 message using your private key.
The resulting eip712Signature will be used in the final request body.
Generate the Poseidon Hash Signature:
Fetch the asset information (including the on-chain decimal) from the /api/v1/public/assetInfo endpoint using the provided assetId.
Calculate the Poseidon hash using the following parameters:
The resulting signature will be used in the final request body.
JavaScript Example