Credit
Create an allowance
This is endpoint returns an unsigned transaction that pre-approves a spender_address
account to transfer a specified amount of tokens from the holder_address
account. Once you sign this transaction, using your private key held in your local environment variables, you can broadcast it using the Execute Transaction endpoint; or if you prefer to wait for confirmation using the Execute Transaction and Wait endpoint.
POST
Authorizations
Body
application/json
Blockchain network to use
Required string length:
1 - 255
Example:
"arbitrum-sepolia"
Ethereum address of the credit token
Example:
"0xd1f09c70f6f2838a3ab6209c1465af68594667ec"
Ethereum address of the token holder account
Example:
"0xcf7ed3acca5a467e9e704c703e8d87f634fb0fc9"
Ethereum address of the spender account
Example:
"0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266"
Amount of credit tokens to approve
Required range:
x > 0
Example:
123