Generate Permit2 EIP-712 typed data for transferring tokens from the owner’s EOA to a Credit Account.
The owner signs the returned EIP-712 data, then includes the signature in a /v2/credit/borrow
or /v2/credit/repay request to atomically pull tokens from their EOA as part of the bundle.
Flow:
/v2/credit/borrow or /v2/credit/repay with the permit2_signature, permit2_nonce, and permit2_deadline fieldsThe owner's wallet address (EOA).
Blockchain network.
base, ethereum, arbitrum The token to transfer from the EOA to the Credit Account.
"USDC"
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
The amount of tokens to transfer (in token units, not wei).
x > 0100
Successful Response
EIP-712 Permit2 typed data to be signed by the owner's wallet.