Description
The subscription to this channel will be providing information about the blockchain session, like start or remove.
Channel Name
tenant-{$this->tenantId}.wallets.sessions-{identifier}
{$this->tenantId}
- the current tenant id
{identifier}
- the unique identifier of the session that was set in the session creation
Events
session_changed
An example of the session changed event, where:
- "type" - a type of the blockchain wallet session
- "id" - the id of the session
- "attributes.identifier" - the unique identifier of the session that was set in the session creation
- "attributes.status" - the status of the session, can be active, when session is active, removed when the session was ended from the wallet or trisk side, pending_approve when the smart contract send to approve in wallet
- "attributes.uri" - the uri to connect to the session
- "attributes.data.connected" - is a true when the wallet connected
- "attributes.data.accounts" - the id of the wallet account
- "attributes.data.chainId" - the id of the chain
- "attributes.data.bridge" - the URL of the walletconnect bridge
- "attributes.data.key" - The key of the connection
- "attributes.data.clientId" - the client id
- "attributes.data.clientMeta.name" - The name of the client
- "attributes.data.clientMeta.url" - The URL of the tenant
- "attributes.data.clientMeta.description" - The description of the client
- "attributes.data.clientMeta.icons" - The icon of the client
- "attributes.data.peerId" - The id of the peer
- "attributes.data.peerMeta.description" - The description of the peer
- "attributes.data.peerMeta.icons" - The icon of the peer
- "attributes.data.peerMeta.name" - The name of the peer
- "attributes.data.peerMeta.ssl" - Show is the ssl enabled
- "attributes.data.peerMeta.url" - The URL of the peer
- "attributes.data.handshakeId" - the id of the handshake
- "attributes.data.handshakeTopic" - the topic of the handshake
{
"dto": {
"data": {
"type": "blockchain_wallets_sessions",
"id": "7d7f6837-5caa-4f03-895d-ac24d0576d39",
"attributes": {
"identifier": "7d7f6837-5caa-4f03-895d-ac24d0576d39",
"status": "active",
"uri": "wc:e479cf5d-ba50-48ff-8c0f-bf5bead625ee@1?bridge=https%3A%2F%2Ff.bridge.walletconnect.org&key=",
"data": {
"connected": true,
"accounts": [
"0x999c3A22822F408374c0d6a4b840C3aeAE338e63"
],
"chainId": 1,
"bridge": "https://f.bridge.walletconnect.org",
"key": "",
"clientId": "",
"clientMeta": {
"name": "Trisk Web 2.5",
"url": "",
"description": "Welcome to Trisk Web 2.5. The ease of smart contracts automation and building DAPPS in days, with no code and no hurdles. Any EVM compatible chain, REST API, and minutes to deploy. Donโt start from scratch - start from Trisk.",
"icons": []
},
"peerId": "67ef12d0-7364-49f4-aa15-3ab4e1de1120",
"peerMeta": {
"description": "Rainbow makes exploring Ethereum fun and accessible ๐",
"url": "https://rainbow.me",
"icons": [
"https://avatars2.githubusercontent.com/u/48327834?s=200&v=4"
],
"name": "๐ Rainbow",
"ssl": true
},
"handshakeId": 1656664183350441,
"handshakeTopic": "e479cf5d-ba50-48ff-8c0f-bf5bead625ee"
}
}
}
}
}