Permit TransferFrom

Permit TransferFrom

Approve and transfer a token that supports permit to a specific address. A permit signature needs to be generated offchain and passed to the API.

Arguments:

nameDescriptionExample
tokenAddress of the token to approvetoken=0x6b175474e8909...
nonceThe nonce to prevent signature replaysnonce=1
deadlineThe deadline on the permit signaturedeadline=1710150268
signatureThe permit signature
amountRaw amount to transferamount=100000000000

Example

Body:

[
  {
    "action": "permitTransferFrom",
    "args": {
      "token": "0xd26114cd6EE289AccF82350c8d8487fedB8A0C07",
      "nonce": "1",
      "deadline": "1710150268",
      "signature": "0x..",
      "amount": "1000000000000000000000000"
    }
  }
]