Create an Earn Account.
Before creating Earn positions, the owner must create an Earn Account associated with their wallet address.
Only the owner has the authority to sign transactions for this account. This can be done in one of two ways:
No gas-sponsorship: The owner signs a transaction and submits it to the network for execution. The owner covers the cost of gas in this case.
Gas-sponsorship: The owner does an off-chain EIP-712 signature and submits this signature to the ‘Prepare gas-sponsored transaction’ endpoint (/gas_sponsorship/prepare). Here, another wallet address is set as sender. This wallet will sign, submit and cover the gas fees of the transaction.
The creation of an Earn Account itself can be a gas-sponsored transaction by setting the sender to the wallet which will sign and send the transaction.
Request to create a compass account.
arbitrum, base, ethereum The address of the transaction sender.
"0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"
The address that will own and control the compass account
Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.