- Preparing search index...
- The search index is not available
cardano-sdk
Function mockChainHistoryProvider
- mockChainHistoryProvider(props?: {
rewardAccount?: RewardAccount;
}): {
blocksByHashes: Mock<any, any>;
healthCheck: Mock<any, any>;
transactionsByAddresses: Mock<any, any>;
transactionsByHashes: Mock<any, any>;
}
-
Returns {
blocksByHashes: Mock<any, any>;
healthCheck: Mock<any, any>;
transactionsByAddresses: Mock<any, any>;
transactionsByHashes: Mock<any, any>;
}
-
blocksByHashes: Mock<any, any>
-
healthCheck: Mock<any, any>
-
transactionsByAddresses: Mock<any, any>
-
transactionsByHashes: Mock<any, any>
Provider stub for testing returns ChainHistoryProvider-compatible object