Skip to main content

Create wallet session

POST 

/blockchain/wallets/sessions

To connect wallet to the Smart Contract task instance need to create a wallet session

Request

Header Parameters

    X-Domain stringrequired

    Every request should has X-Domain Header, in the UUIDv4 format. The X-Domain can be get from the Tenant Integrations page

    X-API-KEY stringrequired

    An X-API-KEY key is a token that a client provides with a X-API-SECRET when making API calls, used instead of the JWT

    X-API-SECRET stringrequired

    An X-API-SECRET key is a token that a client provides with a X-API-KEY when making API calls, used instead of the JWT

Body

The body of the create wallet request

    data

    object

    attributes

    object

    identifier string

Responses

The request was successful

Schema

    data

    object

    type string
    id string

    The id of the blockchain session

    attributes

    object

    identifier string

    The identifier should be uniq for each user

    status string

    Possible values: [pending, active, removed]

    The blockchain session has the following statuses: pending - when the wallet is not connected yet to the smart contract; active - when the wallet was connected to the smart contract; removed - when the was wallet disconnected

    uri string

    The uniq uri to connect wallet

    data string
Loading...