Last updated 14 days ago
/smart-account/create
The EOA address to create smart accounts for
Smart accounts created successfully
Invalid request parameters
Internal server error
curl -L \ --request POST \ --url '/smart-account/create' \ --header 'Content-Type: application/json' \ --data '{"eoaAddress":"text"}'
{ "username": "text", "wallet": { "type": "text", "scw_address": "text", "multi_scw": [ { "network": 1, "address": "text", "deployed": true } ], "eoa_address": "text" } }
/smart-account/transaction/build
Transaction built successfully
curl -L \ --request POST \ --url '/smart-account/transaction/build' \ --header 'Content-Type: application/json' \ --data '{"transactionDetails":[{}],"network":"text","walletAddress":"text","paymasterData":{}}'
{ "messageToSign": "text", "signMode": "text" }
/smart-account/transaction/submit
Transaction submitted successfully
curl -L \ --request POST \ --url '/smart-account/transaction/submit' \ --header 'Content-Type: application/json' \ --data '{"signature":"text","walletAddress":"text"}'
{ "userOpHash": "text", "transactionHash": "text", "success": true }
/smart-account/transaction/gas-fees
Gas fees calculated successfully
curl -L \ --request POST \ --url '/smart-account/transaction/gas-fees' \ --header 'Content-Type: application/json' \ --data '{"transactionDetails":[{}],"network":"text","walletAddress":"text"}'
{ "result": "text" }