Documentation

TransactionTokenService extends TransactionService
in package

Table of Contents

$decodeResource  : Resource|null
$resource  : Resource
__call()  : mixed
__construct()  : mixed
approve()  : string
burn()  : string
data()  : array<string|int, mixed>
decode()  : void
decodeTransactionArgs()  : void
decodeTransactionLogs()  : void
getContractFunctionId()  : string
getDecodeResource()  : resource|null
getEventsTopics()  : array<string|int, mixed>
getMethodType()  : string|null
getResource()  : resource
getTokenService()  : EthereumService|TokenService|null
getTransactionInfo()  : object
getTransactionInfoJson()  : string
getTransactionLogs()  : ContractCallInfo
getTransactionLogsJson()  : string
getTransactionModel()  : Transaction
load()  : ServiceInterface
loadTransactionInstance()  : self
mint()  : string
setDecodeResource()  : TransactionService
setResource()  : self
setTransactionHash()  : TransactionTokenService
transfer()  : string
transferFrom()  : string
update()  : ServiceInterface
validate()  : void
isContract()  : void

Properties

Methods

__call()

public __call(mixed $name, mixed $arguments) : mixed
Parameters
$name : mixed
$arguments : mixed
Return values
mixed

approve()

public approve(string $to, int $amount, string $privateKey) : string
Parameters
$to : string
$amount : int
$privateKey : string
Return values
string

burn()

public burn(string $to, int $amount, string $privateKey) : string
Parameters
$to : string
$amount : int
$privateKey : string
Return values
string

data()

public data() : array<string|int, mixed>
Return values
array<string|int, mixed>

getDecodeResource()

public getDecodeResource() : resource|null
Return values
resource|null

getEventsTopics()

public getEventsTopics() : array<string|int, mixed>
Return values
array<string|int, mixed>

getResource()

public getResource() : resource
Return values
resource

getTransactionInfo()

public getTransactionInfo() : object
Return values
object

getTransactionInfoJson()

public getTransactionInfoJson() : string
Tags
throws
JsonException
Return values
string

loadTransactionInstance()

public loadTransactionInstance() : self
Return values
self

mint()

public mint(string $to, int $amount, string $privateKey) : string
Parameters
$to : string
$amount : int
$privateKey : string
Return values
string

setResource()

public setResource(resource $resource) : self
Parameters
$resource : resource
Return values
self

transfer()

public transfer(string $to, int $amount, string $privateKey) : string
Parameters
$to : string
$amount : int
$privateKey : string
Return values
string

transferFrom()

public transferFrom(string $from, string $to, int $amount, string $privateKey) : string
Parameters
$from : string
$to : string
$amount : int
$privateKey : string
Return values
string

Search results