Type alias Result_W2A_address_subscribe

Result_W2A_address_subscribe: { subscription: ["connected"]; address: { current: object; connected: object } }

Result type of waellet-to-aepp "address.subscribe response

(layer 4)

Example

This is if the user only has a single keypair

{subscription : ["connected"],
address : {current : {"ak_2Wsa8iAmAm917evwDEZjouvPUXKx2nUv5Uz8e8oNXTDfDXnMRN": {}},
connected : {}}}

Example

This is if the user has many keypairs. The currently selected one is under current. Craig, I agree this is stupid, but that's how it works.

{
"subscription": [
"connected"
],
"address": {
"current": {
"ak_25C3xaAGQddyKAnaLLMjAhX24xMktH2NNZxY3fMaZQLMGED2Nf": {}
},
"connected": {
"ak_BMtPGuqDhWLnMVL4t6VFfS32y2hd8TSYwiYa2Z3VdmGzgNtJP": {},
"ak_25BqQuiVCasiqTkXHEffq7XCsuYEtgjNeZFeVFbuRtJkfC9NyX": {},
"ak_4p6gGoCcwQzLXd88KhdjRWYgd4MfTsaCeD8f99pzZhJ6vzYYV": {}
}
}
}

Type declaration

  • subscription: ["connected"]
  • address: { current: object; connected: object }
    • current: object
    • connected: object

Generated using TypeDoc