Parameters
All parameters must be URL encoded. Example:
/37KcpG6mEp+1oAan8/HLEvcfZFXUi6kTOxTHNjD3ZloxS8DL70v7lCmXiEyDOATm4hvewMzBO2d1n25QdJ8WBw=
must be passed as:
%2F37KcpG6mEp%2B1oAan8%2FHLEvcfZFXUi6kTOxTHNjD3ZloxS8DL70v7lCmXiEyDOATm4hvewMzBO2d1n25QdJ8WBw%3D
addr
public address
The user's receiving or sending public address. It must be unique for each user, common addresses are not permitted and will be rejected.
code
4-digit code
A random 4-digit code between 1000 and 9999 that you generate for each address supplied with the addr parameter. Do not use the same code for all your addresses or the validation will be rejected.
hash
signature
The signature of the message MtPelerin-{code}, encoded as described in the section for your chain below. The key used to sign has to be the one matching addr.
net
bitcoin_mainnet tezos_mainnet mainnet (or any other EVM network)
You must specify the network the address belongs to with the parameters below, otherwise the address will not be recognized.
chain
arbitrum_mainnet avalanche_mainnet base_mainnet bsc_mainnet celo_mainnet mainnet matic_mainnet optimism_mainnet rsk_mainnet
sonic_mainnet
tempo_mainnet xdai_mainnet zksync_mainnet
Optional, only required to validate the address of an EVM smart contract wallet (EIP-1271).
Not used for Bitcoin and Tezos. bsc_mainnet = BNB Chain mainnet = Ethereum matic_mainnet = Polygon rsk_mainnet = Rootstock xdai_mainnet = Gnosis Chain
Last updated