Deep link URL Schema
Remember that all parameters specified must be URI encoded.
Connect to a wallet
x-success
(required)
This is a callback URL in case user accepts the connection attempt. Callback must contain:
- {address}
parameter in order to get current address;
- {networkId}
parameter in order to get current networkId
.
x-cancel
(required)
This is a callback URL in case user rejected connection attempt.
Example
Sign a transaction
transaction
(required)
Valid transaction in Encoding.Transaction format tx_
.
networkId
(required)
The networkId
identifier of the network which the wallet should sign your transaction with.
broadcast
(optional)
This flag is for sending a signed transaction by the wallet.
replace-caller
(optional)
This flag is used to ensure that the transmitted transaction
is called using the current address.
x-success
(required)
This is a callback URL in case user signs the transaction. If the broadcast
flag is:
- false/not set
callback must contain {transaction}
parameter in order to get the signed transaction;
- true
callback can have {transaction-hash}
of the broadcasted transaction.
x-cancel
(required)
This is a callback URL in case user doesn't sign the transaction.
Example of sign transaction deep link creation:
Deep link example
Sign a message
message
(required)
Message to sign.
encoding
(optional)
Encoding of the message. Currently only hex
is supported.
x-success
(required)
This is a callback URL in case user signs the message. Callback must contain:
- {signature}
parameter in order to get signed message;
- {address}
parameter in order to get current address.
x-cancel
(required)
This is a callback URL in case user rejected to sign the message.
Example
Sign a JWT
payload
(required)
Payload is the JWT.
x-success
(required)
This is a callback URL in case user signs the message. Callback must contain:
- {signed-payload}
parameter in order to get signed payload;
- {address}
parameter in order to get current address.
x-cancel
(required)
This is a callback URL in case user rejected to sign the message.
Example
Last updated
Was this helpful?