EventData_W2A<t>: { type: "to_aepp"; data: t }

This is the data that is sent from the wallet to the aepp through the Event bus

(layer 2)

Example

// layer 2: who is the message for
{type : "to_aepp",
// layer 3: JSON RPC
data : {jsonrpc : "2.0",
method : "connection.announcePresence",
// layer 4: AWCP-specific semantics
params : {id : "{aee9e933-52b6-410a-8c3f-99c6be596b4e}",
name : "Superhero",
networkId : "ae_mainnet",
origin : "moz-extension://ee425d81-d5b2-44b6-9406-4da31b019e7c",
type : "extension"}}}

Type Parameters

Type declaration

  • type: "to_aepp"
  • data: t

Generated using TypeDoc