interface GSCClient {
    collectParcels: ((nonceSigners, streamingMode, handshakeCallback?) => AsyncIterable<ParcelCollection>);
    deliverParcel: ((parcelSerialized, signer) => Promise<void>);
    preRegisterNode: ((nodePublicKey) => Promise<ArrayBuffer>);
    registerNode: ((pnrrSerialized) => Promise<PrivateNodeRegistration>);
}

Properties

collectParcels: ((nonceSigners, streamingMode, handshakeCallback?) => AsyncIterable<ParcelCollection>)

Type declaration

deliverParcel: ((parcelSerialized, signer) => Promise<void>)

Type declaration

    • (parcelSerialized, signer): Promise<void>
    • Parameters

      Returns Promise<void>

preRegisterNode: ((nodePublicKey) => Promise<ArrayBuffer>)

Type declaration

    • (nodePublicKey): Promise<ArrayBuffer>
    • Parameters

      • nodePublicKey: CryptoKey

      Returns Promise<ArrayBuffer>

registerNode: ((pnrrSerialized) => Promise<PrivateNodeRegistration>)

Type declaration

Generated using TypeDoc