Last updated 1 month ago
/smart-account/create
The EOA address to create smart accounts for
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
curl -L \ --request POST \ --url '/smart-account/transaction/build' \ --header 'Content-Type: application/json' \ --data '{ "transactionDetails": [ { "encodedData": "text", "targetContractAddress": "text", "value": "text" } ], "network": "text", "walletAddress": "text", "paymasterData": {}, "signMode": "text" }'
{ "messageToSign": "text", "signMode": "text" }
/smart-account/transaction/submit
curl -L \ --request POST \ --url '/smart-account/transaction/submit' \ --header 'Content-Type: application/json' \ --data '{ "signature": "text", "walletAddress": "text", "signatureType": "text" }'
{ "userOpHash": "text", "transactionHash": "text", "success": true }
/smart-account/transaction/gas-fees
curl -L \ --request POST \ --url '/smart-account/transaction/gas-fees' \ --header 'Content-Type: application/json' \ --data '{ "transactionDetails": [ { "encodedData": "text", "targetContractAddress": "text", "value": "text" } ], "network": "text", "walletAddress": "text" }'
{ "result": "text" }