Skip to main content
POST
/
wallet
/
smart-account
Create Smart Account
curl --request POST \
  --url https://api.onbeam.io/wallet/smart-account \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "ownerAddress": "<string>",
  "chainId": 123
}
'
{
  "address": "<string>",
  "chainId": 123
}

Authorizations

x-api-key
string
header
required

Body

application/json
ownerAddress
string
required
Example:

"0x1234567890abcdef1234567890abcdef12345678"

chainId
integer
required
Example:

80002

Response

Smart account created

address
string
required
chainId
integer
required