Module sp_statement_store::runtime_api::statement_store
source · Expand description
Host interface
Structs
- Provides implementations for the extern host functions.
Functions
- Return the data of all known statements which include all topics and have no
DecryptionKey
field. - Return the data of all known statements whose decryption key is identified as
dest
(this will generally be the public key or a hash thereof for symmetric ciphers, or a hash of the private key for symmetric ciphers). - Return the decrypted data of all known statements whose decryption key is identified as
dest
. The key must be available to the client. - Remove a statement from the store by hash.
- Return all statements.
- Submit a new new statement. The statement will be broadcast to the network. This is meant to be used by the offchain worker.