
1Shot Gas Station V1 (Arbitrum)
0x4E43...429CContract Level Prompt
Foundational semantic layer for AI interpretation.
callDiamondWithEIP3009SignatureToNative()
nonpayableFunctional Prompt
This function allows the caller to present at EIP-3009 authorization with a Li.Fi Diamond Calldata quote that will swap the tokens associated with the authorization for native gas tokens indicated in the Diamond Calldata.
Input Parameters
The address of the token asset that the authorization was signed for.
The address which signed the authorization. This address must match the address in the `diamondCalldata`.
The amount of token to swap for native gas token.
The unix timestamp after which the authorization is valid.
The unix timestamp before which the authorization is valid.
A random 32 byte hex string to prevent replays
A signature payload provided by the `from` address.
A swap route computed by the [Li.Fi quote endpoint](https://li.quest/v1/quote).
Output Parameters
Did the transaction succeed.