Methods
getBlockByHeight
- getBlockByHeight(height: Number): Promise<{
block: BlockType;
}>
-
Returns Promise<{
block: BlockType;
}>
getCrosschainByAttestationId
- getCrosschainByAttestationId(formAttestationId: String): Promise<{
crosschain: CrosschainType;
}>
-
Parameters
-
formAttestationId: String
Returns Promise<{
crosschain: CrosschainType;
}>
getCrosschainBySearch
- getCrosschainBySearch(searchTerm: String, srcChainIds?: string[], dstChainIds?: string[], timeRange?: number[], limit?: Number, offset?: Number): Promise<{
paginatedCrosschain: PaginatedCrosschain;
}>
-
Parameters
-
searchTerm: String
-
srcChainIds: string[] = []
-
dstChainIds: string[] = []
-
timeRange: number[] = []
-
limit: Number = 10
-
offset: Number = 1
Returns Promise<{
paginatedCrosschain: PaginatedCrosschain;
}>
getLatestBlocks
- getLatestBlocks(timeRange?: number[], limit?: Number, offset?: Number): Promise<{
paginatedBlock: PaginatedBlock;
}>
-
Parameters
-
timeRange: number[] = []
-
limit: Number = 10
-
offset: Number = 1
Returns Promise<{
paginatedBlock: PaginatedBlock;
}>
getLatestCrosschains
- getLatestCrosschains(timeRange?: number[], limit?: Number, offset?: Number): Promise<{
paginatedCrosschain: PaginatedCrosschain;
}>
-
Parameters
-
timeRange: number[] = []
-
limit: Number = 10
-
offset: Number = 1
Returns Promise<{
paginatedCrosschain: PaginatedCrosschain;
}>
getLatestTransactions
- getLatestTransactions(timeRange?: number[], limit?: Number, offset?: Number): Promise<{
paginatedTransaction: PaginatedTransaction;
}>
-
Parameters
-
timeRange: number[] = []
-
limit: Number = 10
-
offset: Number = 1
Returns Promise<{
paginatedTransaction: PaginatedTransaction;
}>
getLatestTransactionsByAddress
- getLatestTransactionsByAddress(address: String, timeRange?: number[], limit?: Number, offset?: Number): Promise<{
paginatedTransaction: PaginatedTransaction;
}>
-
Parameters
-
address: String
-
timeRange: number[] = []
-
limit: Number = 10
-
offset: Number = 1
Returns Promise<{
paginatedTransaction: PaginatedTransaction;
}>
getOutboundsForInbound
- getOutboundsForInbound(inboundId: String): Promise<{
outboundToInboundMap: InboundOutboundMapType[];
}>
-
Returns Promise<{
outboundToInboundMap: InboundOutboundMapType[];
}>
getTransactionByHash
- getTransactionByHash(hash: String): Promise<{
transaction: TransactionType;
}>
-
Returns Promise<{
transaction: TransactionType;
}>
Fetches specific Block
Returns
Throws