npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@xyo-network/xl1-rpc

v1.18.19

Published

XYO Layer One API

Readme

@xyo-network/xl1-rpc

![logo][]

[![npm-badge][]][npm-link] [![npm-downloads-badge][]][npm-link] [![jsdelivr-badge][]][jsdelivr-link] ![npm-license-badge][] [![socket-badge][]][socket-link]

XYO Layer One API

Reference

@xyo-network/xl1-rpc


Modules

index

index-node

classes

### <a id="HttpRpcTransport"></a>HttpRpcTransport

@xyo-network/xl1-rpc


Type Parameters

T

T extends RpcSchemaMap = RpcSchemaMap

Implements

Constructors

Constructor

new HttpRpcTransport<T>(rpcUrl, schemas): HttpRpcTransport<T>;

Parameters

rpcUrl

string

schemas

T

Returns

HttpRpcTransport<T>

Properties

_rpcUrl

protected readonly _rpcUrl: string;

_schemas

protected readonly _schemas: T;

Methods

sendRequest()

sendRequest<TMethod>(method, params?): Promise<output<T[TMethod]["result"]["from"]>>;

Type Parameters

TMethod

TMethod extends string | number | symbol

Parameters

method

TMethod

params?

input<T[TMethod]["params"]["to"]>

Returns

Promise<output<T[TMethod]["result"]["from"]>>

Implementation of

RpcTransport.sendRequest

### <a id="HttpRpcXyoConnection"></a>HttpRpcXyoConnection

@xyo-network/xl1-rpc


Extends

Constructors

Constructor

new HttpRpcXyoConnection(params): HttpRpcXyoConnection;

Parameters

params

RpcXyoProviderParams

Returns

HttpRpcXyoConnection

Overrides

XyoBaseConnection.constructor

Accessors

network

Get Signature

get network(): XyoNetwork | undefined;

Returns

XyoNetwork | undefined

Inherited from

XyoBaseConnection.network


runner

Get Signature

get runner(): XyoRunner | undefined;

Returns

XyoRunner | undefined

Inherited from

XyoBaseConnection.runner


storage

Get Signature

get storage(): 
  | DataLakeViewer
  | DataLakeRunner
  | DataLakeRunner & DataLakeViewer
  | undefined;

Returns

| DataLakeViewer | DataLakeRunner | DataLakeRunner & DataLakeViewer | undefined

Inherited from

XyoBaseConnection.storage


viewer

Get Signature

get viewer(): XyoViewer | undefined;

Returns

XyoViewer | undefined

Inherited from

XyoBaseConnection.viewer

### <a id="JsonRpcDataLakeViewer"></a>JsonRpcDataLakeViewer

@xyo-network/xl1-rpc


Extends

Implements

  • DataLakeViewer

Constructors

Constructor

new JsonRpcDataLakeViewer(transport): JsonRpcDataLakeViewer;

Parameters

transport

RpcTransport<{ dataLakeViewer_get: { params: { to: ZodTuple<[ZodPipe<ZodString, ZodTransform<Hash, string>>], null>; from: ZodTuple<[ZodPipe<ZodString, ZodTransform<Hash, string>>], null>; }; result: { to: ZodOptional<ZodUnion<readonly [ZodObject<{ }, $strip>, ZodPipe<ZodCustom<ArrayBuffer, ArrayBuffer>, ZodTransform<string, ArrayBuffer>>]>>; from: ZodOptional<ZodUnion<readonly [ZodObject<{ }, $strip>, ZodPipe<ZodString, ZodTransform<ArrayBuffer | SharedArrayBuffer, string>>]>>; }; }; dataLakeViewer_getMany: { params: { to: ZodTuple<[ZodArray<ZodPipe<ZodString, ZodTransform<Hash, string>>>], null>; from: ZodTuple<[ZodArray<ZodPipe<ZodString, ZodTransform<Hash, string>>>], null>; }; result: { to: ZodArray<ZodUnion<readonly [ZodObject<{ }, $strip>, ZodPipe<ZodCustom<ArrayBuffer, ArrayBuffer>, ZodTransform<string, ArrayBuffer>>]>>; from: ZodArray<ZodUnion<readonly [ZodObject<{ }, $strip>, ZodPipe<ZodString, ZodTransform<ArrayBuffer | SharedArrayBuffer, string>>]>>; }; }; dataLakeViewer_has: { params: { to: ZodTuple<[ZodPipe<ZodString, ZodTransform<Hash, string>>], null>; from: ZodTuple<[ZodPipe<ZodString, ZodTransform<Hash, string>>], null>; }; result: { to: ZodBoolean; from: ZodBoolean; }; }; }>

Returns

JsonRpcDataLakeViewer

Overrides

JsonRpcDataLakeViewerMethods.constructor

Properties

transport

protected readonly transport: RpcTransport<{
  dataLakeViewer_get: {
     params: {
        to: ZodTuple<[ZodPipe<ZodString, ZodTransform<Hash, string>>], null>;
        from: ZodTuple<[ZodPipe<ZodString, ZodTransform<Hash, string>>], null>;
     };
     result: {
        to: ZodOptional<ZodUnion<readonly [ZodObject<{
        }, $strip>, ZodPipe<ZodCustom<ArrayBuffer, ArrayBuffer>, ZodTransform<string, ArrayBuffer>>]>>;
        from: ZodOptional<ZodUnion<readonly [ZodObject<{
        }, $strip>, ZodPipe<ZodString, ZodTransform<ArrayBuffer | SharedArrayBuffer, string>>]>>;
     };
  };
  dataLakeViewer_getMany: {
     params: {
        to: ZodTuple<[ZodArray<ZodPipe<ZodString, ZodTransform<Hash, string>>>], null>;
        from: ZodTuple<[ZodArray<ZodPipe<ZodString, ZodTransform<Hash, string>>>], null>;
     };
     result: {
        to: ZodArray<ZodUnion<readonly [ZodObject<{
        }, $strip>, ZodPipe<ZodCustom<ArrayBuffer, ArrayBuffer>, ZodTransform<string, ArrayBuffer>>]>>;
        from: ZodArray<ZodUnion<readonly [ZodObject<{
        }, $strip>, ZodPipe<ZodString, ZodTransform<ArrayBuffer | SharedArrayBuffer, string>>]>>;
     };
  };
  dataLakeViewer_has: {
     params: {
        to: ZodTuple<[ZodPipe<ZodString, ZodTransform<Hash, string>>], null>;
        from: ZodTuple<[ZodPipe<ZodString, ZodTransform<Hash, string>>], null>;
     };
     result: {
        to: ZodBoolean;
        from: ZodBoolean;
     };
  };
}>;

Inherited from

JsonRpcDataLakeViewerMethods.transport

Methods

get()

get(_id): Promise<Payload | ArrayBuffer | undefined>;

Parameters

_id

unknown

Returns

Promise<Payload | ArrayBuffer | undefined>

Implementation of

DataLakeViewer.get

Inherited from

JsonRpcDataLakeViewerMethods.get


getMany()

getMany(_id): Promise<(Payload | ArrayBuffer)[]>;

Parameters

_id

unknown

Returns

Promise<(Payload | ArrayBuffer)[]>

Implementation of

DataLakeViewer.getMany

Inherited from

JsonRpcDataLakeViewerMethods.getMany


has()

has(_id): Promise<boolean>;

Parameters

_id

unknown

Returns

Promise<boolean>

Implementation of

DataLakeViewer.has

Inherited from

JsonRpcDataLakeViewerMethods.has

### <a id="JsonRpcDataLakeViewerMethods"></a>JsonRpcDataLakeViewerMethods

@xyo-network/xl1-rpc


Extends

Extended by

Implements

  • DataLakeViewerMethods

Constructors

Constructor

new JsonRpcDataLakeViewerMethods(transport): JsonRpcDataLakeViewerMethods;

Parameters

transport

RpcTransport<{ dataLakeViewer_get: { params: { to: ZodTuple<[ZodPipe<ZodString, ZodTransform<Hash, string>>], null>; from: ZodTuple<[ZodPipe<ZodString, ZodTransform<Hash, string>>], null>; }; result: { to: ZodOptional<ZodUnion<readonly [ZodObject<{ }, $strip>, ZodPipe<ZodCustom<ArrayBuffer, ArrayBuffer>, ZodTransform<string, ArrayBuffer>>]>>; from: ZodOptional<ZodUnion<readonly [ZodObject<{ }, $strip>, ZodPipe<ZodString, ZodTransform<ArrayBuffer | SharedArrayBuffer, string>>]>>; }; }; dataLakeViewer_getMany: { params: { to: ZodTuple<[ZodArray<ZodPipe<ZodString, ZodTransform<Hash, string>>>], null>; from: ZodTuple<[ZodArray<ZodPipe<ZodString, ZodTransform<Hash, string>>>], null>; }; result: { to: ZodArray<ZodUnion<readonly [ZodObject<{ }, $strip>, ZodPipe<ZodCustom<ArrayBuffer, ArrayBuffer>, ZodTransform<string, ArrayBuffer>>]>>; from: ZodArray<ZodUnion<readonly [ZodObject<{ }, $strip>, ZodPipe<ZodString, ZodTransform<ArrayBuffer | SharedArrayBuffer, string>>]>>; }; }; dataLakeViewer_has: { params: { to: ZodTuple<[ZodPipe<ZodString, ZodTransform<Hash, string>>], null>; from: ZodTuple<[ZodPipe<ZodString, ZodTransform<Hash, string>>], null>; }; result: { to: ZodBoolean; from: ZodBoolean; }; }; }>

Returns

JsonRpcDataLakeViewerMethods

Inherited from

JsonRpcViewer.constructor

Properties

transport

protected readonly transport: RpcTransport<{
  dataLakeViewer_get: {
     params: {
        to: ZodTuple<[ZodPipe<ZodString, ZodTransform<Hash, string>>], null>;
        from: ZodTuple<[ZodPipe<ZodString, ZodTransform<Hash, string>>], null>;
     };
     result: {
        to: ZodOptional<ZodUnion<readonly [ZodObject<{
        }, $strip>, ZodPipe<ZodCustom<ArrayBuffer, ArrayBuffer>, ZodTransform<string, ArrayBuffer>>]>>;
        from: ZodOptional<ZodUnion<readonly [ZodObject<{
        }, $strip>, ZodPipe<ZodString, ZodTransform<ArrayBuffer | SharedArrayBuffer, string>>]>>;
     };
  };
  dataLakeViewer_getMany: {
     params: {
        to: ZodTuple<[ZodArray<ZodPipe<ZodString, ZodTransform<Hash, string>>>], null>;
        from: ZodTuple<[ZodArray<ZodPipe<ZodString, ZodTransform<Hash, string>>>], null>;
     };
     result: {
        to: ZodArray<ZodUnion<readonly [ZodObject<{
        }, $strip>, ZodPipe<ZodCustom<ArrayBuffer, ArrayBuffer>, ZodTransform<string, ArrayBuffer>>]>>;
        from: ZodArray<ZodUnion<readonly [ZodObject<{
        }, $strip>, ZodPipe<ZodString, ZodTransform<ArrayBuffer | SharedArrayBuffer, string>>]>>;
     };
  };
  dataLakeViewer_has: {
     params: {
        to: ZodTuple<[ZodPipe<ZodString, ZodTransform<Hash, string>>], null>;
        from: ZodTuple<[ZodPipe<ZodString, ZodTransform<Hash, string>>], null>;
     };
     result: {
        to: ZodBoolean;
        from: ZodBoolean;
     };
  };
}>;

Inherited from

JsonRpcViewer.transport

Methods

get()

get(_id): Promise<Payload | ArrayBuffer | undefined>;

Parameters

_id

unknown

Returns

Promise<Payload | ArrayBuffer | undefined>

Implementation of

DataLakeViewerMethods.get

getMany()

getMany(_id): Promise<(Payload | ArrayBuffer)[]>;

Parameters

_id

unknown

Returns

Promise<(Payload | ArrayBuffer)[]>

Implementation of

DataLakeViewerMethods.getMany

has()

has(_id): Promise<boolean>;

Parameters

_id

unknown

Returns

Promise<boolean>

Implementation of

DataLakeViewerMethods.has
### <a id="JsonRpcNetworkStakeViewer"></a>JsonRpcNetworkStakeViewer

@xyo-network/xl1-rpc


Extends

Implements

  • NetworkStakeViewer

Constructors

Constructor

new JsonRpcNetworkStakeViewer(transport): JsonRpcNetworkStakeViewer;

Parameters

transport

RpcTransport<{ networkStakeViewer_active: { params: { from: ZodTuple<[ZodOptional<ZodPipe<ZodNumber, ZodTransform<BlockNumber, number>>>], null>; to: ZodTuple<[ZodOptional<ZodPipe<ZodNumber, ZodTransform<BlockNumber, number>>>], null>; }; result: { from: ZodTuple<[ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>, ZodNumber], null>; to: ZodTuple<[ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>, ZodNumber], null>; }; }; }>

Returns

JsonRpcNetworkStakeViewer

Overrides

JsonRpcNetworkStakeViewerMethods.constructor

Properties

_stepRewards

protected _stepRewards: NetworkStakeStepRewardsViewer;

transport

protected readonly transport: RpcTransport<{
  networkStakeViewer_active: {
     params: {
        from: ZodTuple<[ZodOptional<ZodPipe<ZodNumber, ZodTransform<BlockNumber, number>>>], null>;
        to: ZodTuple<[ZodOptional<ZodPipe<ZodNumber, ZodTransform<BlockNumber, number>>>], null>;
     };
     result: {
        from: ZodTuple<[ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>, ZodNumber], null>;
        to: ZodTuple<[ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>, ZodNumber], null>;
     };
  };
}>;

Inherited from

JsonRpcNetworkStakeViewerMethods.transport

Accessors

stepRewards

Get Signature

get stepRewards(): NetworkStakeStepRewardsViewer;

Returns

NetworkStakeStepRewardsViewer

Implementation of

NetworkStakeViewer.stepRewards

Methods

active()

active(blockNumber?): Promise<[bigint, number]>;

Parameters

blockNumber?

number

Returns

Promise<[bigint, number]>

the active stake and the number of active validators [active, block]

Implementation of

NetworkStakeViewer.active

Inherited from

JsonRpcNetworkStakeViewerMethods.active

### <a id="JsonRpcNetworkStakeViewerMethods"></a>JsonRpcNetworkStakeViewerMethods

@xyo-network/xl1-rpc


Extends

Extended by

Implements

  • NetworkStakeViewerMethods

Constructors

Constructor

new JsonRpcNetworkStakeViewerMethods(transport): JsonRpcNetworkStakeViewerMethods;

Parameters

transport

RpcTransport<{ networkStakeViewer_active: { params: { from: ZodTuple<[ZodOptional<ZodPipe<ZodNumber, ZodTransform<BlockNumber, number>>>], null>; to: ZodTuple<[ZodOptional<ZodPipe<ZodNumber, ZodTransform<BlockNumber, number>>>], null>; }; result: { from: ZodTuple<[ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>, ZodNumber], null>; to: ZodTuple<[ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>, ZodNumber], null>; }; }; }>

Returns

JsonRpcNetworkStakeViewerMethods

Inherited from

JsonRpcViewer.constructor

Properties

transport

protected readonly transport: RpcTransport<{
  networkStakeViewer_active: {
     params: {
        from: ZodTuple<[ZodOptional<ZodPipe<ZodNumber, ZodTransform<BlockNumber, number>>>], null>;
        to: ZodTuple<[ZodOptional<ZodPipe<ZodNumber, ZodTransform<BlockNumber, number>>>], null>;
     };
     result: {
        from: ZodTuple<[ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>, ZodNumber], null>;
        to: ZodTuple<[ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>, ZodNumber], null>;
     };
  };
}>;

Inherited from

JsonRpcViewer.transport

Methods

active()

active(blockNumber?): Promise<[bigint, number]>;

Parameters

blockNumber?

number

Returns

Promise<[bigint, number]>

the active stake and the number of active validators [active, block]

Implementation of

NetworkStakeViewerMethods.active
### <a id="JsonRpcNetworkStakingStepRewardsViewer"></a>JsonRpcNetworkStakingStepRewardsViewer

@xyo-network/xl1-rpc


Extends

Implements

  • NetworkStakeStepRewardsViewerMethods

Constructors

Constructor

new JsonRpcNetworkStakingStepRewardsViewer(transport, providers?): JsonRpcNetworkStakingStepRewardsViewer;

Parameters

transport

RpcTransport<{ }>

providers?

JsonRpcNetworkStakingStepRewardsViewerProviders

Returns

JsonRpcNetworkStakingStepRewardsViewer

Overrides

JsonRpcNetworkStakingStepRewardsViewerMethods.constructor

Properties

providers

protected providers: JsonRpcNetworkStakingStepRewardsViewerProviders;

transport

protected readonly transport: RpcTransport<{
}>;

Inherited from

JsonRpcNetworkStakingStepRewardsViewerMethods.transport

Accessors

position

Get Signature

get position(): NetworkStakeStepRewardsByPositionViewer | undefined;

Returns

NetworkStakeStepRewardsByPositionViewer | undefined


staker

Get Signature

get staker(): NetworkStakeStepRewardsByStakerViewer | undefined;

Returns

NetworkStakeStepRewardsByStakerViewer | undefined


step

Get Signature

get step(): NetworkStakeStepRewardsByStepViewer | undefined;

Returns

NetworkStakeStepRewardsByStepViewer | undefined


total

Get Signature

get total(): NetworkStakeStepRewardsTotalViewer | undefined;

Returns

NetworkStakeStepRewardsTotalViewer | undefined

### <a id="JsonRpcNetworkStakingStepRewardsViewerMethods"></a>JsonRpcNetworkStakingStepRewardsViewerMethods

@xyo-network/xl1-rpc


Extends

Extended by

Implements

  • NetworkStakeStepRewardsViewerMethods

Constructors

Constructor

new JsonRpcNetworkStakingStepRewardsViewerMethods(transport): JsonRpcNetworkStakingStepRewardsViewerMethods;

Parameters

transport

RpcTransport<{ }>

Returns

JsonRpcNetworkStakingStepRewardsViewerMethods

Inherited from

JsonRpcViewer.constructor

Properties

transport

protected readonly transport: RpcTransport<{
}>;

Inherited from

JsonRpcViewer.transport

### <a id="JsonRpcTimeSyncViewer"></a>JsonRpcTimeSyncViewer

@xyo-network/xl1-rpc


Extends

Implements

  • TimeSyncViewer

Constructors

Constructor

new JsonRpcTimeSyncViewer(transport): JsonRpcTimeSyncViewer;

Parameters

transport

RpcTransport<{ timeSyncViewer_convertTime: { params: { from: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodNumber], null>; to: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodNumber], null>; }; result: { from: ZodNumber; to: ZodNumber; }; }; timeSyncViewer_currentTime: { params: { from: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>], null>; to: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>], null>; }; result: { from: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodNumber], null>; to: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodNumber], null>; }; }; timeSyncViewer_currentTimeAndHash: { params: { from: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>], null>; to: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>], null>; }; result: { from: ZodTuple<[ZodNumber, ZodNullable<ZodString>], null>; to: ZodTuple<[ZodNumber, ZodNullable<ZodString>], null>; }; }; timeSyncViewer_currentTimePayload: { params: { from: ZodTuple<[], null>; to: ZodTuple<[], null>; }; result: { from: ZodObject<{ }, $strip>; to: ZodObject<{ }, $strip>; }; }; }>

Returns

JsonRpcTimeSyncViewer

Overrides

JsonRpcTimeSyncViewerMethods.constructor

Properties

transport

protected readonly transport: RpcTransport<{
  timeSyncViewer_convertTime: {
     params: {
        from: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodNumber], null>;
        to: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodNumber], null>;
     };
     result: {
        from: ZodNumber;
        to: ZodNumber;
     };
  };
  timeSyncViewer_currentTime: {
     params: {
        from: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>], null>;
        to: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>], null>;
     };
     result: {
        from: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodNumber], null>;
        to: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodNumber], null>;
     };
  };
  timeSyncViewer_currentTimeAndHash: {
     params: {
        from: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>], null>;
        to: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>], null>;
     };
     result: {
        from: ZodTuple<[ZodNumber, ZodNullable<ZodString>], null>;
        to: ZodTuple<[ZodNumber, ZodNullable<ZodString>], null>;
     };
  };
  timeSyncViewer_currentTimePayload: {
     params: {
        from: ZodTuple<[], null>;
        to: ZodTuple<[], null>;
     };
     result: {
        from: ZodObject<{
        }, $strip>;
        to: ZodObject<{
        }, $strip>;
     };
  };
}>;

Inherited from

JsonRpcTimeSyncViewerMethods.transport

Methods

convertTime()

convertTime(
   fromDomain, 
   toDomain, 
from): Promise<number>;

Convert time between different domains

Parameters

fromDomain

TimeDomain

toDomain

TimeDomain

from

number

Returns

Promise<number>

Implementation of

TimeSyncViewer.convertTime

Inherited from

JsonRpcTimeSyncViewerMethods.convertTime


currentTime()

currentTime(domain): Promise<[string, number]>;

Get the current time for a given domain

Parameters

domain

TimeDomain

Returns

Promise<[string, number]>

Implementation of

TimeSyncViewer.currentTime

Inherited from

JsonRpcTimeSyncViewerMethods.currentTime


currentTimeAndHash()

currentTimeAndHash(domain): Promise<[number, string | null]>;

Get the current time for a given domain

Parameters

domain

TimeDomain

Returns

Promise<[number, string | null]>

Implementation of

TimeSyncViewer.currentTimeAndHash

Inherited from

JsonRpcTimeSyncViewerMethods.currentTimeAndHash


currentTimePayload()

currentTimePayload(): Promise<{
}>;

Create a TimePayload with the current time from all configured domains

Returns

Promise<{ }>

Implementation of

TimeSyncViewer.currentTimePayload

Inherited from

JsonRpcTimeSyncViewerMethods.currentTimePayload

### <a id="JsonRpcTimeSyncViewerMethods"></a>JsonRpcTimeSyncViewerMethods

@xyo-network/xl1-rpc


Extended by

Implements

  • TimeSyncViewerMethods

Constructors

Constructor

new JsonRpcTimeSyncViewerMethods(transport): JsonRpcTimeSyncViewerMethods;

Parameters

transport

RpcTransport<{ timeSyncViewer_convertTime: { params: { from: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodNumber], null>; to: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodNumber], null>; }; result: { from: ZodNumber; to: ZodNumber; }; }; timeSyncViewer_currentTime: { params: { from: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>], null>; to: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>], null>; }; result: { from: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodNumber], null>; to: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodNumber], null>; }; }; timeSyncViewer_currentTimeAndHash: { params: { from: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>], null>; to: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>], null>; }; result: { from: ZodTuple<[ZodNumber, ZodNullable<ZodString>], null>; to: ZodTuple<[ZodNumber, ZodNullable<ZodString>], null>; }; }; timeSyncViewer_currentTimePayload: { params: { from: ZodTuple<[], null>; to: ZodTuple<[], null>; }; result: { from: ZodObject<{ }, $strip>; to: ZodObject<{ }, $strip>; }; }; }>

Returns

JsonRpcTimeSyncViewerMethods

Properties

transport

protected readonly transport: RpcTransport<{
  timeSyncViewer_convertTime: {
     params: {
        from: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodNumber], null>;
        to: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodNumber], null>;
     };
     result: {
        from: ZodNumber;
        to: ZodNumber;
     };
  };
  timeSyncViewer_currentTime: {
     params: {
        from: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>], null>;
        to: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>], null>;
     };
     result: {
        from: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodNumber], null>;
        to: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>, ZodNumber], null>;
     };
  };
  timeSyncViewer_currentTimeAndHash: {
     params: {
        from: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>], null>;
        to: ZodTuple<[ZodUnion<readonly [ZodLiteral<"xl1">, ZodLiteral<"epoch">, ZodLiteral<"ethereum">]>], null>;
     };
     result: {
        from: ZodTuple<[ZodNumber, ZodNullable<ZodString>], null>;
        to: ZodTuple<[ZodNumber, ZodNullable<ZodString>], null>;
     };
  };
  timeSyncViewer_currentTimePayload: {
     params: {
        from: ZodTuple<[], null>;
        to: ZodTuple<[], null>;
     };
     result: {
        from: ZodObject<{
        }, $strip>;
        to: ZodObject<{
        }, $strip>;
     };
  };
}>;

Methods

convertTime()

convertTime(
   fromDomain, 
   toDomain, 
from): Promise<number>;

Convert time between different domains

Parameters

fromDomain

TimeDomain

toDomain

TimeDomain

from

number

Returns

Promise<number>

Implementation of

TimeSyncViewerMethods.convertTime

currentTime()

currentTime(domain): Promise<[string, number]>;

Get the current time for a given domain

Parameters

domain

TimeDomain

Returns

Promise<[string, number]>

Implementation of

TimeSyncViewerMethods.currentTime

currentTimeAndHash()

currentTimeAndHash(domain): Promise<[number, string | null]>;

Get the current time for a given domain

Parameters

domain

TimeDomain

Returns

Promise<[number, string | null]>

Implementation of

TimeSyncViewerMethods.currentTimeAndHash

currentTimePayload()

currentTimePayload(): Promise<{
}>;

Create a TimePayload with the current time from all configured domains

Returns

Promise<{ }>

Implementation of

TimeSyncViewerMethods.currentTimePayload
### <a id="JsonRpcViewer"></a>JsonRpcViewer

@xyo-network/xl1-rpc


Extended by

Type Parameters

TSchemas

TSchemas extends RpcSchemaMap

Constructors

Constructor

new JsonRpcViewer<TSchemas>(transport): JsonRpcViewer<TSchemas>;

Parameters

transport

RpcTransport<TSchemas>

Returns

JsonRpcViewer<TSchemas>

Properties

transport

protected readonly transport: RpcTransport<TSchemas>;
### <a id="JsonRpcXyoRunner"></a>JsonRpcXyoRunner

@xyo-network/xl1-rpc


Implements

  • XyoRunner

Constructors

Constructor

new JsonRpcXyoRunner(transport): JsonRpcXyoRunner;

Parameters

transport

RpcTransport<{ xyoRunner_broadcastTransaction: { params: { to: ZodTuple<[ZodTuple<[ZodObject<{ addresses: ZodArray<...>; payload_hashes: ZodArray<...>; payload_schemas: ZodArray<...>; previous_hashes: ZodArray<...>; $destination: ZodOptional<...>; $sourceQuery: ZodOptional<...>; $signatures: ZodArray<...>; schema: ZodLiteral<...>; nbf: ZodPipe<..., ...>; exp: ZodPipe<..., ...>; script: ZodOptional<...>; fees: ZodObject<..., ...>; chain: ZodPipe<..., ...>; from: ZodPipe<..., ...>; }, $strip>, ZodArray<ZodObject<{ }, $strict>>], null>], null>; from: ZodTuple<[ZodTuple<[ZodObject<{ addresses: ZodArray<...>; payload_hashes: ZodArray<...>; payload_schemas: ZodArray<...>; previous_hashes: ZodArray<...>; $destination: ZodOptional<...>; $sourceQuery: ZodOptional<...>; $signatures: ZodArray<...>; schema: ZodLiteral<...>; nbf: ZodPipe<..., ...>; exp: ZodPipe<..., ...>; script: ZodOptional<...>; fees: ZodObject<..., ...>; chain: ZodPipe<..., ...>; from: ZodPipe<..., ...>; }, $strip>, ZodArray<ZodObject<{ }, $strict>>], null>], null>; }; result: { to: ZodPipe<ZodPipe<ZodString, ZodTransform<Hash, string>>, ZodTransform<string, Hash>>; from: ZodPipe<ZodString, ZodTransform<Hash, string>>; }; }; }>

Returns

JsonRpcXyoRunner

Properties

transport

protected readonly transport: RpcTransport<{
  xyoRunner_broadcastTransaction: {
     params: {
        to: ZodTuple<[ZodTuple<[ZodObject<{
           addresses: ZodArray<...>;
           payload_hashes: ZodArray<...>;
           payload_schemas: ZodArray<...>;
           previous_hashes: ZodArray<...>;
           $destination: ZodOptional<...>;
           $sourceQuery: ZodOptional<...>;
           $signatures: ZodArray<...>;
           schema: ZodLiteral<...>;
           nbf: ZodPipe<..., ...>;
           exp: ZodPipe<..., ...>;
           script: ZodOptional<...>;
           fees: ZodObject<..., ...>;
           chain: ZodPipe<..., ...>;
           from: ZodPipe<..., ...>;
         }, $strip>, ZodArray<ZodObject<{
        }, $strict>>], null>], null>;
        from: ZodTuple<[ZodTuple<[ZodObject<{
           addresses: ZodArray<...>;
           payload_hashes: ZodArray<...>;
           payload_schemas: ZodArray<...>;
           previous_hashes: ZodArray<...>;
           $destination: ZodOptional<...>;
           $sourceQuery: ZodOptional<...>;
           $signatures: ZodArray<...>;
           schema: ZodLiteral<...>;
           nbf: ZodPipe<..., ...>;
           exp: ZodPipe<..., ...>;
           script: ZodOptional<...>;
           fees: ZodObject<..., ...>;
           chain: ZodPipe<..., ...>;
           from: ZodPipe<..., ...>;
         }, $strip>, ZodArray<ZodObject<{
        }, $strict>>], null>], null>;
     };
     result: {
        to: ZodPipe<ZodPipe<ZodString, ZodTransform<Hash, string>>, ZodTransform<string, Hash>>;
        from: ZodPipe<ZodString, ZodTransform<Hash, string>>;
     };
  };
}>;

Methods

broadcastTransaction()

broadcastTransaction(transaction): Promise<Hash>;

Parameters

transaction

SignedHydratedTransaction

Returns

Promise<Hash>

Implementation of

XyoRunner.broadcastTransaction
### <a id="JsonRpcXyoViewer"></a>JsonRpcXyoViewer

@xyo-network/xl1-rpc


Implements

  • XyoViewer

Constructors

Constructor

new JsonRpcXyoViewer(transport, providers?): JsonRpcXyoViewer;

Parameters

transport

RpcTransport<{ xyoViewer_networkStakeStepRewardClaimedByAddress: { params: { to: ZodTuple<[ZodPipe<ZodString, ZodTransform<Address, string>>], null>; from: ZodTuple<[ZodPipe<ZodString, ZodTransform<Address, string>>], null>; }; result: { to: ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>; from: ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>; }; }; xyoViewer_networkStakeStepRewardAddressReward: { params: { to: ZodTuple<[ZodObject<{ }, $strip>, ZodPipe<ZodString, ZodTransform<Address, string>>], null>; from: ZodTuple<[ZodObject<{ }, $strip>, ZodPipe<ZodString, ZodTransform<Address, string>>], null>; }; result: { to: ZodRecord<ZodPipe<ZodString, ZodTransform<Address, string>>, ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>>; from: ZodRecord<ZodPipe<ZodString, ZodTransform<Address, string>>, ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>>; }; }; xyoViewer_networkStakeStepRewardAddressHistory: { params: { to: ZodTuple<[ZodPipe<ZodString, ZodTransform<Address, string>>], null>; from: ZodTuple<[ZodPipe<ZodString, ZodTransform<Address, string>>], null>; }; result: { to: ZodRecord<ZodPipe<ZodString, ZodTransform<Address, string>>, ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>>; from: ZodRecord<ZodPipe<ZodString, ZodTransform<Address, string>>, ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>>; }; }; xyoViewer_networkStakeStepRewardAddressShare: { params: { to: ZodTuple<[ZodObject<{ }, $strip>, ZodPipe<ZodString, ZodTransform<Address, string>>], null>; from: ZodTuple<[ZodObject<{ }, $strip>, ZodPipe<ZodString, ZodTransform<Address, string>>], null>; }; result: { to: ZodTuple<[ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>, ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>], null>; from: ZodTuple<[ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>, ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>], null>; }; }; xyoViewer_networkStakeStepRewardWeightForAddress: { params: { to: ZodTuple<[ZodObject<{ }, $strip>, ZodPipe<ZodString, ZodTransform<Address, string>>], null>; from: ZodTuple<[ZodObject<{ }, $strip>, ZodPipe<ZodString, ZodTransform<Address, string>>], null>; }; result: { to: ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>; from: ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>; }; }; xyoViewer_networkStakeStepRewardUnclaimedByAddress: { params: { to: ZodTuple<[ZodPipe<ZodString, ZodTransform<Address, string>>], null>; from: ZodTuple<[ZodPipe<ZodString, ZodTransform<Address, string>>], null>; }; result: { to: ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>; from: ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>; }; }; xyoViewer_networkStakeStepRewardPoolRewards: { params: { to: ZodTuple<[ZodObject<{ }, $strip>], null>; from: ZodTuple<[ZodObject<{ }, $strip>], null>; }; result: { to: ZodRecord<ZodPipe<ZodString, ZodTransform<Address, string>>, ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>>; from: ZodRecord<ZodPipe<ZodString, ZodTransform<Address, string>>, ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>>; }; }; xyoViewer_networkStakeStepRewardPositionWeight: { params: { to: ZodTuple<[ZodObject<{ }, $strip>, ZodNumber], null>; from: ZodTuple<[ZodObject<{ }, $strip>, ZodNumber], null>; }; result: { to: ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>; from: ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>; }; }; xyoViewer_networkStakeStepRewardPotentialPositionLoss: { params: { to: ZodTuple<[ZodObject<{ }, $strip>, ZodNumber], null>; from: ZodTuple<[ZodObject<{ }, $strip>, ZodNumber], null>; }; result: { to: ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>; from: ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>; }; }; xyoViewer_networkStakeStepRewardForStep: { params: { to: ZodTuple<[ZodObject<{ }, $strip>], null>; from: ZodTuple<[ZodObject<{ }, $strip>], null>; }; result: { to: ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>; from: ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>; }; }; xyoViewer_networkStakeStepRewardRandomizer: { params: { to: ZodTuple<[ZodObject<{ }, $strip>], null>; from: ZodTuple<[ZodObject<{ }, $strip>], null>; }; result: { to: ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>; from: ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>; }; }; xyoViewer_networkStakeStepRewardStakerCount: { params: { to: ZodTuple<[ZodObject<{ }, $strip>], null>; from: ZodTuple<[ZodObject<{ }, $strip>], null>; }; result: { to: ZodNumber; from: ZodNumber; }; }; xyoViewer_networkStakeStepRewardPoolShares: { params: { to: ZodTuple<[ZodObject<{ }, $strip>], null>; from: ZodTuple<[ZodObject<{ }, $strip>], null>; }; result: { to: ZodRecord<ZodPipe<ZodString, ZodTransform<Address, string>>, ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>>; from: ZodRecord<ZodPipe<ZodString, ZodTransform<Address, string>>, ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>>; }; }; xyoViewer_networkStakeStepRewardForStepForPosition: { params: { to: ZodTuple<[ZodObject<{ }, $strip>, ZodNumber], null>; from: ZodTuple<[ZodObject<{ }, $strip>, ZodNumber], null>; }; result: { to: ZodTuple<[ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>, ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>], null>; from: ZodTuple<[ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>, ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>], null>; }; }; xyoViewer_networkStakeStepRewardForPosition: { params: { to: ZodTuple<[ZodNumber, ZodTuple<[ZodNumber, ZodNumber], null>], null>; from: ZodTuple<[ZodNumber, ZodTuple<[ZodNumber, ZodNumber], null>], null>; }; result: { to: ZodTuple<[ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>, ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>], null>; from: ZodTuple<[ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>, ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>], null>; }; }; xyoViewer_networkStakeStepRewardsForRange: { params: { to: ZodTuple<[ZodTuple<[ZodNumber, ZodNumber], null>], null>; from: ZodTuple<[ZodTuple<[ZodNumber, ZodNumber], null>], null>; }; result: { to: ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>; from: ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>; }; }; xyoViewer_networkStakeStepRewardsForStepLevel: { params: { to: ZodTuple<[ZodNumber, ZodTuple<[ZodNumber, ZodNumber], null>], null>; from: ZodTuple<[ZodNumber, ZodTuple<[ZodNumber, ZodNumber], null>], null>; }; result: { to: ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>; from: ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>; }; }; xyoViewer_networkStakeStepRewardsForPosition: { params: { to: ZodTuple<[ZodNumber, ZodTuple<[ZodNumber, ZodNumber], null>], null>; from: ZodTuple<[ZodNumber, ZodTuple<[ZodNumber, ZodNumber], null>], null>; }; result: { to: ZodRecord<ZodString, ZodTuple<[ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>, ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>], null>>; from: ZodRecord<ZodString, ZodTuple<[ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>, ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>], null>>; }; }; xyoViewer_accountBalance: { params: { to: ZodTuple<[ZodPipe<ZodString, ZodTransform<Address, string>>], null>; from: ZodTuple<[ZodPipe<ZodString, ZodTransform<Address, string>>], null>; }; result: { to: ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>; from: ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>; }; }; xyoViewer_accountBalanceHistory: { params: { to: ZodUnion<readonly [ZodTuple<[ZodPipe<ZodString, ZodTransform<Address, string>>], null>, ZodTuple<[ZodPipe<ZodString, ZodTransform<Address, string>>, ZodUnion<readonly [ZodTuple<..., ...>, ZodPipe<..., ...>]>], null>]>; from: ZodUnion<readonly [ZodTuple<[ZodPipe<ZodString, ZodTransform<Address, string>>], null>, ZodTuple<[ZodPipe<ZodString, ZodTransform<Address, string>>, ZodUnion<readonly [ZodTuple<..., ...>, ZodPipe<..., ...>]>], null>]>; }; result: { to: ZodArray<ZodTuple<[ZodObject<{ block: ZodPipe<ZodNumber, ZodTransform<..., ...>>; chain: ZodPipe<ZodString, ZodTransform<..., ...>>; previous: ZodNullable<ZodPipe<..., ...>>; protocol: ZodNumber; step_hashes: ZodOptional<ZodArray<...>>; $epoch: ZodNumber; addresses: ZodArray<ZodPipe<..., ...>>; payload_hashes: ZodArray<ZodPipe<..., ...>>; payload_schemas: ZodArray<ZodUnion<...>>; previous_hashes: ZodArray<ZodNullable<...>>; $destination: ZodOptional<ZodPipe<..., ...>>; $sourceQuery: ZodOptional<ZodPipe<..., ...>>; $signatures: ZodArray<ZodUnion<...>>; schema: ZodLiteral<"network.xyo.boundwitness">; }, $strip>, ZodNullable<ZodObject<{ addresses: ZodArray<...>; payload_hashes: ZodArray<...>; payload_schemas: ZodArray<...>; previous_hashes: ZodArray<...>; $destination: ZodOptional<...>; $sourceQuery: ZodOptional<...>; $signatures: ZodArray<...>; schema: ZodLiteral<...>; nbf: ZodPipe<..., ...>; exp: ZodPipe<..., ...>; script: ZodOptional<...>; fees: ZodObject<..., ...>; chain: ZodPipe<..., ...>; from: ZodPipe<..., ...>; }, $strip>>, ZodObject<{ }, $strip>], null>>; from: ZodArray<ZodTuple<[ZodObject<{ block: ZodPipe<ZodNumber, ZodTransform<..., ...>>; chain: ZodPipe<ZodString, ZodTransform<..., ...>>; previous: ZodNullable<ZodPipe<..., ...>>; protocol: ZodNumber; step_hashes: ZodOptional<ZodArray<...>>; $epoch: ZodNumber; addresses: ZodArray<ZodPipe<..., ...>>; payload_hashes: ZodArray<ZodPipe<..., ...>>; payload_schemas: ZodArray<ZodUnion<...>>; previous_hashes: ZodArray<ZodNullable<...>>; $destination: ZodOptional<ZodPipe<..., ...>>; $sourceQuery: ZodOptional<ZodPipe<..., ...>>; $signatures: ZodArray<ZodUnion<...>>; schema: ZodLiteral<"network.xyo.boundwitness">; }, $strip>, ZodNullable<ZodObject<{ addresses: ZodArray<...>; payload_hashes: ZodArray<...>; payload_schemas: ZodArray<...>; previous_hashes: ZodArray<...>; $destination: ZodOptional<...>; $sourceQuery: ZodOptional<...>; $signatures: ZodArray<...>; schema: ZodLiteral<...>; nbf: ZodPipe<..., ...>; exp: ZodPipe<..., ...>; script: ZodOptional<...>; fees: ZodObject<..., ...>; chain: ZodPipe<..., ...>; from: ZodPipe<..., ...>; }, $strip>>, ZodObject<{ }, $strip>], null>>; }; }; xyoViewer_transferPairBalance: { params: { to: ZodTuple<[ZodTuple<[ZodPipe<ZodString, ZodTransform<Address, string>>, ZodPipe<ZodString, ZodTransform<Address, string>>], null>], null>; from: ZodTuple<[ZodTuple<[ZodPipe<ZodString, ZodTransform<Address, string>>, ZodPipe<ZodString, ZodTransform<Address, string>>], null>], null>; }; result: { to: ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>; from: ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>; }; }; xyoViewer_transferPairBalanceHistory: { params: { to: ZodTuple<[ZodTuple<[ZodPipe<ZodString, ZodTransform<Address, string>>, ZodPipe<ZodString, ZodTransform<Address, string>>], null>], null>; from: ZodTuple<[ZodTuple<[ZodPipe<ZodString, ZodTransform<Address, string>>, ZodPipe<ZodString, ZodTransform<Address, string>>], null>], null>; }; result: { to: ZodArray<ZodTuple<[ZodObject<{ block: ZodPipe<ZodNumber, ZodTransform<..., ...>>; chain: ZodPipe<ZodString, ZodTransform<..., ...>>; previous: ZodNullable<ZodPipe<..., ...>>; protocol: ZodNumber; step_hashes: ZodOptional<ZodArray<...>>; $epoch: ZodNumber; addresses: ZodArray<ZodPipe<..., ...>>; payload_hashes: ZodArray<ZodPipe<..., ...>>; payload_schemas: ZodArray<ZodUnion<...>>; previous_hashes: ZodArray<ZodNullable<...>>; $destination: ZodOptional<ZodPipe<..., ...>>; $sourceQuery: ZodOptional<ZodPipe<..., ...>>; $signatures: ZodArray<ZodUnion<...>>; schema: ZodLiteral<"network.xyo.boundwitness">; }, $strip>, ZodNullable<ZodObject<{ addresses: ZodArray<...>; payload_hashes: ZodArray<...>; payload_schemas: ZodArray<...>; previous_hashes: ZodArray<...>; $destination: ZodOptional<...>; $sourceQuery: ZodOptional<...>; $signatures: ZodArray<...>; schema: ZodLiteral<...>; nbf: ZodPipe<..., ...>; exp: ZodPipe<..., ...>; script: ZodOptional<...>; fees: ZodObject<..., ...>; chain: ZodPipe<..., ...>; from: ZodPipe<..., ...>; }, $strip>>, ZodObject<{ }, $strip>], null>>; from: ZodArray<ZodTuple<[ZodObject<{ block: ZodPipe<ZodNumber, ZodTransform<..., ...>>; chain: ZodPipe<ZodString, ZodTransform<..., ...>>; previous: ZodNullable<ZodPipe<..., ...>>; protocol: ZodNumber; step_hashes: ZodOptional<ZodArray<...>>; $epoch: ZodNumber; addresses: ZodArray<ZodPipe<..., ...>>; payload_hashes: ZodArray<ZodPipe<..., ...>>; payload_schemas: ZodArray<ZodUnion<...>>; previous_hashes: ZodArray<ZodNullable<...>>; $destination: ZodOptional<ZodPipe<..., ...>>; $sourceQuery: ZodOptional<ZodPipe<..., ...>>; $signatures: ZodArray<ZodUnion<...>>; schema: ZodLiteral<"network.xyo.boundwitness">; }, $strip>, ZodNullable<ZodObject<{ addresses: ZodArray<...>; payload_hashes: ZodArray<...>; payload_schemas: ZodArray<...>; previous_hashes: ZodArray<...>; $destination: ZodOptional<...>; $sourceQuery: ZodOptional<...>; $signatures: ZodArray<...>; schema: ZodLiteral<...>; nbf: ZodPipe<..., ...>; exp: ZodPipe<..., ...>; script: ZodOptional<...>; fees: ZodObject<..., ...>; chain: ZodPipe<..., ...>; from: ZodPipe<..., ...>; }, $strip>>, ZodObject<{ }, $strip>], null>>; }; }; xyoViewer_transferBalance: { params: { to: ZodTuple<[ZodPipe<ZodString, ZodTransform<Address, string>>], null>; from: ZodTuple<[ZodPipe<ZodString, ZodTransform<Address, string>>], null>; }; result: { to: ZodPipe<ZodBigInt, ZodTransform<Hex, bigint>>; from: ZodPipe<ZodPipe<ZodString, ZodTransform<Hex, string>>, ZodTransform<bigint, Hex>>; }; }; xyoViewer_transferBalanceHistory: { params: { to: ZodTuple<[ZodPipe<ZodString, ZodTransform<Address, string>>, ZodOptional<ZodTuple<[ZodPipe<ZodNumber, ZodTransform<..., ...>>, ZodPipe<ZodNumber, ZodTransform<..., ...>>], null>>], null>; from: ZodTuple<[ZodPipe<ZodString, ZodTransform<Address, string>>, ZodOptional<ZodTuple<[ZodPipe<ZodNumber, ZodTransform<..., ...>>, ZodPipe<ZodNumber, ZodTransform<..., ...>>], null>>], null>; }; result: { to: ZodArray<ZodTuple<[ZodObject<{ block: ZodPipe<ZodNumber, ZodTransform<..., ...>>; chain: ZodPipe<ZodString, ZodTransform<..., ...>>; previous: ZodNullable<ZodPipe<..., ...>>; protocol: ZodNumber; step_hashes: ZodOptional<ZodArray<...>>; $epoch: ZodNumber; addresses: ZodArray<ZodPipe<..., ...>>; payload_hashes: ZodArray<ZodPipe<..., ...>>; payload_schemas: ZodArray<ZodUnion<...>>; previous_hashes: ZodArray<ZodNullable<...>>; $destination: ZodOptional<ZodPipe<..., ...>>; $sourceQuery: ZodOptional<ZodPipe<..., ...>>; $signatures: ZodArray<ZodUnion<...>>; schema: ZodLiteral<"network.xyo.boundwitness">; }, $strip>, ZodNullable<ZodObject<{ addresses: ZodArray<...>; payload_hashes: ZodArray<...>; payload_schemas: ZodArray<...>; previous_hashes: ZodArray<...>; $destination: ZodOptional<...>; $sourceQuery: ZodOptional<...>; $signatures: ZodArray<...>; schema: ZodLiteral<...>; nbf: ZodPipe<..., ...>; exp: ZodPipe<..., ...>; script: ZodOptional<...>; fees: ZodObject<..., ...>; chain: ZodPipe<..., ...>; from: ZodPipe<..., ...>; }, $strip>>, ZodObject<{ }, $strip>], null>>; from: ZodArray<ZodTuple<[ZodObject<{ block: ZodPipe<ZodNumber, ZodTransform<..., ...>>; chain: ZodPipe<ZodString, ZodTransform<..., ...>>; previous: ZodNullable<ZodPipe<..., ...>>; protocol: ZodNumber; step_hashes: ZodOptional<ZodArray<...>>; $epoch: ZodNumber; addresses: ZodArray<ZodPipe<..., ...>>; payload_hashes: ZodArray<ZodPipe<..., ...>>; payload_schemas: ZodArray<ZodUnion<...>>; previous_hashes: ZodArray<ZodNullable<...>>; $destination: ZodOptional<ZodPipe<..., ...>>; $sourceQuery: ZodOptional<ZodPipe<..., ...>>; $signatures: ZodArray<ZodUnion<...>>; schema: ZodLiteral<"network.xyo.boundwitness">; }, $strip>, ZodNullable<ZodObject<{ addresses: ZodArray<...>; payload_hashes: ZodArray<...>; payload_schemas: ZodArray<...>; previous_hashes: ZodArray<...>; $destination: ZodOptional<...>; $sourceQuery: ZodOptional<...>; $signatures: ZodArray<...>; schema: ZodLiteral<...>; nbf: ZodPipe<..., ...>; exp: ZodPipe<..., ...>; script: ZodOptional<...>; fees: ZodObject<..., ...>; chain: ZodPipe<..., ...>; from: ZodPipe<..., ...>; }, $strip>>, ZodObject<{ }, $strip>], null>>; }; }; xyoViewer_blockByHash: { params: { to: ZodTuple<[ZodPipe<ZodPipe<ZodString, ZodTransform<Hash, string>>, ZodTransform<string, Hash>>], null>; from: ZodTuple<[ZodPipe<ZodString, ZodTransform<Hash, string>>], null>; }; result: { to: ZodTuple<[ZodObject<{ block: ZodPipe<ZodNumber, ZodTransform<XL1BlockNumber, number>>; chain: ZodPipe<ZodString, ZodTransform<ChainId, string>>; previous: ZodNullable<ZodPipe<ZodString, ZodTransform<..., ...>>>; protocol: ZodNumber; step_hashes: ZodOptional<ZodArray<ZodPipe<..., ...>>>; $epoch: ZodNumber; addresses: ZodArray<ZodPipe<ZodString, ZodTransform<..., ...>>>; payload_hashes: ZodArray<ZodPipe<ZodString, ZodTransform<..., ...>>>; payload_schemas: ZodArray<ZodUnion<readonly [..., ...]>>; previous_hashes: ZodArray<ZodNullable<ZodPipe<..., ...>>>; $destination: ZodOptional<ZodPipe<ZodString, ZodTransform<..., ...>>>; $sourceQuery: ZodOptional<ZodPipe<ZodString, ZodTransform<..., ...>>>; $signatures: ZodArray<ZodUnion<readonly [..., ...]>>; schema: ZodLiteral<"network.xyo.boundwitness">; }, $strip>, ZodArray<ZodObject<{ }, $strict>>], null>; from: ZodTuple<[ZodObject<{ block: ZodPipe<ZodNumber, ZodTransform<XL1BlockNumber, number>>; chain: ZodPipe<ZodString, ZodTransform<ChainId, string>>; previous: ZodNullable<ZodPipe<ZodString, ZodTransform<..., ...>>>; protocol: ZodNumber; `