Class ChainGrpcCrosschainApi
Methods
fetchCrosschainAckRequestConfirmation
- fetchCrosschainAckRequestConfirmation(sourceChainId: string, requestIdentifier: number, claimHash: string | Uint8Array, orchestrator: string): Promise<AsObject>
-
Parameters
-
sourceChainId: string
-
requestIdentifier: number
-
claimHash: string | Uint8Array
-
orchestrator: string
Returns Promise<AsObject>
fetchCrosschainAckRequestConfirmations
- fetchCrosschainAckRequestConfirmations(sourceChainId: string, requestIdentifier: number, claimHash: string | Uint8Array, pageRequestObject?: AsObject): Promise<AsObject>
-
Parameters
-
sourceChainId: string
-
requestIdentifier: number
-
claimHash: string | Uint8Array
-
Optional
pageRequestObject: AsObject
Returns Promise<AsObject>
fetchCrosschainAckRequests
- fetchCrosschainAckRequests(pageRequestObject?: AsObject): Promise<AsObject>
-
Parameters
-
Optional
pageRequestObject: AsObject
Returns Promise<AsObject>
fetchCrosschainRequestConfirmation
- fetchCrosschainRequestConfirmation(sourceChainId: string, requestIdentifier: number, claimHash: string | Uint8Array, orchestrator: string): Promise<AsObject>
-
Parameters
-
sourceChainId: string
-
requestIdentifier: number
-
claimHash: string | Uint8Array
-
orchestrator: string
Returns Promise<AsObject>
fetchCrosschainRequestConfirmations
- fetchCrosschainRequestConfirmations(sourceChainId: string, requestIdentifier: number, claimHash: string | Uint8Array, pageRequestObject?: AsObject): Promise<AsObject>
-
Parameters
-
sourceChainId: string
-
requestIdentifier: number
-
claimHash: string | Uint8Array
-
Optional
pageRequestObject: AsObject
Returns Promise<AsObject>
fetchCrosschainRequests
- fetchCrosschainRequests(pageRequestObject?: AsObject): Promise<AsObject>
-
Parameters
-
Optional
pageRequestObject: AsObject
Returns Promise<AsObject>
The Crosschain module is responsible for handling inbound, outbound and crosstalk requests.
Example
To use Crosschain methods, initialise a ChainGrpcCrosschainApi object to with a gRPC endpoint. An endpoint can be retrieved by using networkEndpoints.