Web3 Wallets

Used to interact with the web3 wallets of the logged in user.

Get All Web3 Wallets

Retrieve all web3 wallets associated with the current user.

SecurityNone or DevBrowser or ProductionBrowser or ProductionNativeApp and ProductionNativeFlag)
Request
query Parameters
_clerk_session_id
string

The session_id associated with the requesting user.

Responses
200

Returns UserWeb3Wallets array.

401

Request was not successful

403

Request was not successful

404

Request was not successful

get/v1/me/web3_wallets
Response samples
application/json
[
  • {
    }
]

Create Web3 Wallet

Create a new web3 wallet.

SecurityNone or DevBrowser or ProductionBrowser or ProductionNativeApp and ProductionNativeFlag)
Request
query Parameters
_clerk_session_id
string

The session_id associated with the requesting user.

Request Body schema: application/x-www-form-urlencoded
web3_wallet
required
string

The web3 wallet to be added to the user.

Responses
200

Returns the response for Session wrapped Web3 wallet object.

401

Request was not successful

403

Request was not successful

404

Request was not successful

422

Request was not successful

post/v1/me/web3_wallets
Request samples
application/x-www-form-urlencoded
web3_wallet=string
Response samples
application/json
{
  • "response": {
    },
  • "client": {
    }
}

Get Web3 Wallet

Retrieve all properties associated a specific web3 wallet.

SecurityNone or DevBrowser or ProductionBrowser or ProductionNativeApp and ProductionNativeFlag)
Request
path Parameters
web3_wallet_id
required
string

The web3 wallet ID.

Responses
200

Returns the response for Session wrapped Web3 wallet object.

401

Request was not successful

403

Request was not successful

404

Request was not successful

get/v1/me/web3_wallets/{web3_wallet_id}
Response samples
application/json
{
  • "response": {
    },
  • "client": {
    }
}

Delete Web3 Wallet

Delete a web3 wallet by id.

SecurityNone or DevBrowser or ProductionBrowser or ProductionNativeApp and ProductionNativeFlag)
Request
path Parameters
web3_wallet_id
required
string

The web3 wallet ID.

Responses
200

Returns single DeletedPhoneNumber.

400

Request was not successful

401

Request was not successful

403

Request was not successful

404

Request was not successful

delete/v1/me/web3_wallets/{web3_wallet_id}
Response samples
application/json
{
  • "response": {
    },
  • "client": {
    }
}

Prepare Web3 Wallet Verification

Prepares verification for the provided web3 wallet.

SecurityNone or DevBrowser or ProductionBrowser or ProductionNativeApp and ProductionNativeFlag)
Request
path Parameters
web3_wallet_id
required
string

The web3 wallet ID.

header Parameters
Origin
string

The origin of the request.

Request Body schema: application/x-www-form-urlencoded
strategy
required
string^web3_\w+_signature$

The strategy used to verify the web3 wallet.

redirect_url
string or null

The redirect URL to redirect the user to after verification.

Responses
200

Returns the response for Session wrapped Web3 wallet object.

401

Request was not successful

403

Request was not successful

404

Request was not successful

422

Request was not successful

post/v1/me/web3_wallets/{web3_wallet_id}/prepare_verification
Request samples
application/x-www-form-urlencoded
strategy=string&redirect_url=string
Response samples
application/json
{
  • "response": {
    },
  • "client": {
    }
}

Attempt Web3 Wallet Verification

Attempts to verify the provided web3 wallet.

SecurityNone or DevBrowser or ProductionBrowser or ProductionNativeApp and ProductionNativeFlag)
Request
path Parameters
web3_wallet_id
required
string

The web3 wallet ID.

header Parameters
Origin
string

The origin of the request.

Request Body schema: application/x-www-form-urlencoded
signature
required
string

The signature that was generated from your Web3 Wallet to sign the message

Responses
200

Returns the response for Session wrapped Web3 wallet object.

400

Request was not successful

401

Request was not successful

403

Request was not successful

404

Request was not successful

422

Request was not successful

post/v1/me/web3_wallets/{web3_wallet_id}/attempt_verification
Request samples
application/x-www-form-urlencoded
signature=string
Response samples
application/json
{
  • "response": {
    },
  • "client": {
    }
}