EventData_W2A_address_subscribe: EventData_W2A<RpcResp_W2A_address_subscribe>

Actual waellet-to-aepp "address.subscribe" event data sent over the message bus

(layer 2)

Example

This is the case where the wallet only has one keypair:

{
"type": "to_aepp",
"data": {
"jsonrpc": "2.0",
"id": "ske-address-1",
"method": "address.subscribe",
"result": {
"subscription": [
"connected"
],
"address": {
"current": {
"ak_BMtPGuqDhWLnMVL4t6VFfS32y2hd8TSYwiYa2Z3VdmGzgNtJP": {}
},
"connected": {}
}
}
}
}

Example

Case of many keypairs, the current one will be in current.

{
"type": "to_aepp",
"data": {
"jsonrpc": "2.0",
"id": "ske-address-1",
"method": "address.subscribe",
"result": {
"subscription": [
"connected"
],
"address": {
"current": {
"ak_2RT9RPbcX8RtjBpMWqsKtVRVKASAbj8V4c3f7cCdJfuVdihhyL": {}
},
"connected": {
"ak_sMM2sUiyeBeMiRAj8viHVCVDxevmCacALhoHdrkobyhoqnR85": {},
"ak_o355SAx4n1V6xbrYv4Zaxm7GAYaZwEFXwgKBVEQTSm8MPnwjn": {},
"ak_2Up7dDMVBbPc4xAequf41zyzBqwWpUcVTYvcGF1ApAcCy7nGfA": {}
}
}
}
}
}

Generated using TypeDoc