Documentation

AkashicChain
in package

Table of Contents

Constants

L2_REGEX  = '/^AS[A-Fa-f\d]{64}$/'
NITR0GEN_NATIVE_COIN  = "#native"

Properties

$contracts  : mixed
$dbIndex  : mixed

Methods

__construct()  : mixed
checkForAkashicChainError()  : void
Check for errors in the AkashicChain response
differentialConsensusTransaction()  : IBaseTransaction
Create a differential consensus transaction
keyCreateTransaction()  : IBaseTransaction
Create a key creation transaction
l2ToL1SignTransaction()  : mixed
l2Transaction()  : mixed
onboardOtkTransaction()  : IBaseTransaction
Create an onboard OTK transaction
signTransaction()  : array<string|int, mixed>
getACNetwork()  : string
Get the AC Network for the given coin symbol
getACSymbol()  : string
Get the AC Symbol for the given coin symbol

Constants

NITR0GEN_NATIVE_COIN

public mixed NITR0GEN_NATIVE_COIN = "#native"

Properties

Methods

__construct()

public __construct(mixed $env) : mixed
Parameters
$env : mixed

checkForAkashicChainError()

Check for errors in the AkashicChain response

public checkForAkashicChainError(mixed $response) : void
Parameters
$response : mixed
Tags
throws
Exception

differentialConsensusTransaction()

Create a differential consensus transaction

public differentialConsensusTransaction(mixed $otk, mixed $key, mixed $identifier) : IBaseTransaction
Parameters
$otk : mixed
$key : mixed
$identifier : mixed
Return values
IBaseTransaction

keyCreateTransaction()

Create a key creation transaction

public keyCreateTransaction(NetworkSymbol $coinSymbol, mixed $otk) : IBaseTransaction
Parameters
$coinSymbol : NetworkSymbol
$otk : mixed
Return values
IBaseTransaction

l2ToL1SignTransaction()

public l2ToL1SignTransaction(array<string|int, mixed> $params) : mixed
Parameters
$params : array<string|int, mixed>

l2Transaction()

public l2Transaction(array<string|int, mixed> $params) : mixed
Parameters
$params : array<string|int, mixed>

onboardOtkTransaction()

Create an onboard OTK transaction

public onboardOtkTransaction(mixed $otk) : IBaseTransaction
Parameters
$otk : mixed
Return values
IBaseTransaction

signTransaction()

public signTransaction(mixed $txBody, mixed $otk) : array<string|int, mixed>
Parameters
$txBody : mixed
$otk : mixed
Return values
array<string|int, mixed>

        
On this page

Search results