Echo pallet
Derived from live runtime metadata on TRN root (pallet index 21, captured 2026-05-02). For prose-style documentation see Echo on the curated reference side.
- Pallet index
21- Calls
- 1
- Events
- 4
- Errors
- 3
- Storage items
- 1
- Constants
- 1
Calls (extrinsics)
Echo.ping
See [
Pallet::ping].
ts
api.tx.echo.ping(destination: H160)| Argument | Type | Doc |
|---|---|---|
destination | H160 | H160 |
Call index: 0
Events
Echo.PingSent
A ping message was sent to Ethereum
| Field | Type | Doc |
|---|---|---|
session_id | u64 | |
source | H160 | |
destination | H160 | |
event_proof_id | u64 |
Echo.PongReceived
A pong response was received from Ethereum
| Field | Type | Doc |
|---|---|---|
session_id | u64 | |
source | H160 | |
data | Bytes |
Echo.PingReceived
A ping was received from Ethereum
| Field | Type | Doc |
|---|---|---|
session_id | u64 | |
source | H160 | |
data | Bytes |
Echo.PongSent
A pong message was sent to Ethereum
| Field | Type | Doc |
|---|---|---|
session_id | u64 | |
source | H160 | |
destination | H160 | |
event_proof_id | u64 |
Errors
Echo.NoAvailableIds
There are no remaining session ids
Echo.InvalidParameter
Invalid ping_or_pong parameter, must be 0 or 1
Echo.InvalidAbiEncoding
The abi received does not match the encoding scheme
Storage
Echo.NextSessionId
The next available offer_id
ts
await api.query.echo.nextSessionId()Returns: u64
Modifier: Default
Constants
Echo.PalletId
This pallet's ID, used for deriving a sovereign account ID
Type: [u8;8]
SCALE-encoded value: 0x70696e67706f6e67
Source: live chain metadata from
wss://root.rootnet.live/archive/ws · captured 2026-05-02