@heliuslabs/spr - v0.9.0-alpha
GitHub
npm
Preparing search index...
client
ProofReader
Interface ProofReader
interface
ProofReader
{
getMerkleProofs
(
treeAccount
:
Address
,
leaves
:
readonly
Bytes32
[]
,
config
?:
IndexerRpcConfig
,
context
?:
RequestContext
,
)
:
Promise
<
GetMerkleProofsResponse
>
;
getNonInclusionProofs
(
treeAccount
:
Address
,
leaves
:
readonly
Bytes32
[]
,
config
?:
IndexerRpcConfig
,
context
?:
RequestContext
,
)
:
Promise
<
GetNonInclusionProofsResponse
>
;
getInputMerkleProofs
(
inputUtxoCommitments
:
readonly
InputUtxoContext
[]
,
config
?:
IndexerRpcConfig
,
context
?:
RequestContext
,
)
:
Promise
<
readonly
SpendProof
[]
>
;
}
Implemented by
SprClient
Index
Methods
get
Merkle
Proofs
get
Non
Inclusion
Proofs
get
Input
Merkle
Proofs
Methods
get
Merkle
Proofs
getMerkleProofs
(
treeAccount
:
Address
,
leaves
:
readonly
Bytes32
[]
,
config
?:
IndexerRpcConfig
,
context
?:
RequestContext
,
)
:
Promise
<
GetMerkleProofsResponse
>
Parameters
treeAccount
:
Address
leaves
:
readonly
Bytes32
[]
Optional
config
:
IndexerRpcConfig
Optional
context
:
RequestContext
Returns
Promise
<
GetMerkleProofsResponse
>
get
Non
Inclusion
Proofs
getNonInclusionProofs
(
treeAccount
:
Address
,
leaves
:
readonly
Bytes32
[]
,
config
?:
IndexerRpcConfig
,
context
?:
RequestContext
,
)
:
Promise
<
GetNonInclusionProofsResponse
>
Parameters
treeAccount
:
Address
leaves
:
readonly
Bytes32
[]
Optional
config
:
IndexerRpcConfig
Optional
context
:
RequestContext
Returns
Promise
<
GetNonInclusionProofsResponse
>
get
Input
Merkle
Proofs
getInputMerkleProofs
(
inputUtxoCommitments
:
readonly
InputUtxoContext
[]
,
config
?:
IndexerRpcConfig
,
context
?:
RequestContext
,
)
:
Promise
<
readonly
SpendProof
[]
>
Parameters
inputUtxoCommitments
:
readonly
InputUtxoContext
[]
Optional
config
:
IndexerRpcConfig
Optional
context
:
RequestContext
Returns
Promise
<
readonly
SpendProof
[]
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
get
Merkle
Proofs
get
Non
Inclusion
Proofs
get
Input
Merkle
Proofs
GitHub
npm
@heliuslabs/spr - v0.9.0-alpha
Loading...