accs v2
Switch account blockchain.
Changed onSwitches the blockchain network for an existing account.
This allows moving an account between different blockchain networks while maintaining the same account identity.
post/v2/accounts/switch-chain
Request
- Base URL: https://api.openfort.io
- URL: https://api.openfort.io/v2/accounts/switch-chain
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"chainId": 80002
}Response
Successful response.
Example response
{
"custody": "Developer"
}Changes
- info
the endpoint scheme security
auth_tokenwas added to the API - info
the endpoint scheme security
better_authwas removed from the API - info
the security scope
accounts:writewas added to the endpoint's security schemesk
- info
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info