Skip to main content
POST
Link wallet v2

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Link wallet V2 request

type
string
required

This should be the EIP-6963 rdns value, if you're unable to get the rdns value you can provide "External". If using WalletConnect then provide "WalletConnect".

Maximum string length: 32
Example:

"io.metamask"

wallet_address
string
required

The address of the external wallet being linked to Passport

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"

signature
string
required

The EIP-712 signature

nonce
string
required

A unique identifier for the signature

Response

OK

Linked wallet

address
string
required

Ethereum address

Example:

"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"

type
string
required

Wallet type

Example:

"MetaMask"

created_at
string<date-time>
required

Created at

Example:

"2021-08-31T00:00:00Z"

updated_at
string<date-time>
required

Created at

Example:

"2021-08-31T00:00:00Z"

clientName
string
required

Name of client that linked the wallet

Example:

"Passport Dashboard"

name
string

Name

Example:

"Test"