Skip to content

Function: fetchGate() ​

fetchGate(client, gateId, originalId): Promise<GateState>

Defined in: gates.ts:124

Read one Gate by id. Returns null if the object is not a Gate of this package.

Parameters ​

client ​

SuiObjectClient

gateId ​

string

originalId ​

string

Returns ​

Promise<GateState>

Throws ​

if the RPC call fails (including a missing object).

2026 Meddleware. All jams preserved.