ClaimantResponse
in package
Represents a claimant eligible to claim a claimable balance
Contains the destination account ID and the predicate conditions that must be satisfied before the claimant can successfully claim the balance.
Tags
Table of Contents
Methods
- fromJson() : ClaimantResponse
- getDestination() : string
- Gets the destination account ID that can claim this balance
- getPredicate() : ClaimantPredicateResponse
- Gets the predicate conditions for claiming this balance
- loadFromJson() : void
Methods
fromJson()
public
static fromJson(array<string|int, mixed> $json) : ClaimantResponse
Parameters
- $json : array<string|int, mixed>
Return values
ClaimantResponsegetDestination()
Gets the destination account ID that can claim this balance
public
getDestination() : string
Return values
string —The claimant account ID
getPredicate()
Gets the predicate conditions for claiming this balance
public
getPredicate() : ClaimantPredicateResponse
Return values
ClaimantPredicateResponse —The claim predicate
loadFromJson()
protected
loadFromJson(array<string|int, mixed> $json) : void
Parameters
- $json : array<string|int, mixed>