import * as capi from "https://deno.land/x/capi@v0.1.1-beta.1/rpc/mod.ts";
Enums
Flags used by a contract to customize exit behavior. |
Interfaces
A struct that encodes RPC parameters required for a call to a smart-contract. | |
A struct that encodes RPC parameters required for a call to upload a new code. | |
The result of successfully uploading a contract. | |
Result type of a | |
Holds associated values for a tracing span. | |
Generic header digest. | |
Holds information about the | |
Represents a tracing event, complete with recorded data. | |
Output of a contract call or instantiation which ran to completion. | |
The
| |
Abstraction over a block header for a substrate chain. | |
Health struct returned by the RPC | |
The base fee and adjusted weight and length fees constitute the inclusion fee. | |
A struct that encodes RPC parameters required to instantiate a new smart-contract. | |
The result of a successful contract instantiation. | |
Retrieved MMR leaves and their proof. | |
Retrieved MMR leaf and its proof. | |
Network Peer information | |
The state of the current best round, as well as the background rounds in a form suitable for serialization. | |
Information related to a dispatchable's class, weight, and fee that can be queried from the runtime. | |
Runtime version.
This should not be thought of as classic Semver (major/minor/tiny).
This triplet have different semantics and mis-interpretation could cause problems.
In particular: bug fixes should result in an increment of | |
Abstraction over a substrate block and justification. | |
Represents a single instance of a tracing span. | |
Storage change set | |
Error response for the | |
Type Aliases
Arithmetic errors. | |
The type of a chain. | |
Reference to an existing code hash or a new wasm module | |
A generalized group of dispatch types. | |
Reason why a dispatch call failed. | |
RPC Extrinsic or hash | |
An encoded justification proving that the given header has been finalized | |
A type to describe leaf position in the MMR. | |
Reason why a pallet call failed. | |
The role the node is running as | |
The amount of balance that was either charged or refunded in order to pay for storage. | |
A type of supported crypto. | |
Description of what went wrong when trying to complete an operation on a token. | |
Response for the | |
Errors related to transactional storage layers. | |
Possible transaction status events. | |