Echo
Calls
ping
Ping extrinsic sends an event to the bridge containing a message
Namespace
api.tx.echo.pingType
function ping(
destination: H160
)Storage
nextSessionId
The next available offer_id
Namespace
api.query.echo.nextSessionIdType
function nextSessionId(
): u64Events
PingReceived
A ping was received from Ethereum
Namespace
api.events.echo.PingReceivedType
type PingReceived = {
session_id: u64,
source: H160,
data: Bytes
}PingSent
A ping message was sent to Ethereum
Namespace
api.events.echo.PingSentType
type PingSent = {
session_id: u64,
source: H160,
destination: H160,
event_proof_id: u64
}PongReceived
A pong response was received from Ethereum
Namespace
api.events.echo.PongReceivedType
type PongReceived = {
session_id: u64,
source: H160,
data: Bytes
}PongSent
A pong message was sent to Ethereum
Namespace
api.events.echo.PongSentType
type PongSent = {
session_id: u64,
source: H160,
destination: H160,
event_proof_id: u64
}Errors
InvalidAbiEncoding
The abi received does not match the encoding scheme
Namespace
api.errors.echo.InvalidAbiEncodingInvalidParameter
Invalid ping_or_pong parameter, must be 0 or 1
Namespace
api.errors.echo.InvalidParameterNoAvailableIds
There are no remaining session ids
Namespace
api.errors.echo.NoAvailableIdsConstants
palletId
This pallet's Id, used for deriving a sovereign account ID
Namespace
api.consts.echo.palletIdType
type palletId = FrameSupportPalletIdSource: https://docs.therootnetwork.com/build/substrate/api-reference/runtime-pallets/echo · captured 2026-05-02 · part of TRN Docs source map