AnchorTransactionInfo
in package
Describes the availability and requirements for the transaction endpoint.
Contains information about whether the transaction endpoint is enabled and if authentication is required to access it.
Tags
Table of Contents
Properties
- $authenticationRequired : bool|null
- $enabled : bool|null
Methods
- fromJson() : AnchorTransactionInfo
- Constructs a new instance of AnchorTransactionInfo by using the given data.
Properties
$authenticationRequired
public
bool|null
$authenticationRequired
= null
true if client must be authenticated before accessing the endpoint.
$enabled
public
bool|null
$enabled
= null
true if the endpoint is available.
Methods
fromJson()
Constructs a new instance of AnchorTransactionInfo by using the given data.
public
static fromJson(array<string|int, mixed> $json) : AnchorTransactionInfo
Parameters
- $json : array<string|int, mixed>
-
the data to construct the object from.
Return values
AnchorTransactionInfo —the object containing the parsed data.