Other useful endpoints
The account object returned by the SDK is an extended starknet.js
account object.
It contains functions that might be useful for you.
Outside execution
This function accepts a list of Call objects and returns the calldata/payload required to perform an execute_from_outside
.
Sign Messages from outside
Takes a typedData
object and a list of Call
.
Returns
Deployment of account
By default, Argent subsidises the deployment of all the accounts. If the deployment fails on our side, it is possible to deploy the account for your users.
You can get the deployment data either from the returned object of the connect()
function of the SDK or from this endpoint:
This will return a DeployAccountContractPayload
which will allow you to deploy the account as explained here: Deploy accounts on behalf of users
Last updated
Was this helpful?