Stellar PHP SDK API Documentation

XdrConfigSettingContractComputeV0
in package

"Compute" settings for contracts (instructions and memory).

Table of Contents

Properties

$feeRatePerInstructionsIncrement  : int
$ledgerMaxInstructions  : int
$txMaxInstructions  : int
$txMemoryLimit  : int

Methods

__construct()  : mixed
decode()  : XdrConfigSettingContractComputeV0
encode()  : string
getFeeRatePerInstructionsIncrement()  : int
getLedgerMaxInstructions()  : int
getTxMaxInstructions()  : int
getTxMemoryLimit()  : int
setFeeRatePerInstructionsIncrement()  : void
setLedgerMaxInstructions()  : void
setTxMaxInstructions()  : void
setTxMemoryLimit()  : void

Properties

Methods

__construct()

public __construct(int $ledgerMaxInstructions, int $txMaxInstructions, int $feeRatePerInstructionsIncrement, int $txMemoryLimit) : mixed
Parameters
$ledgerMaxInstructions : int

Maximum instructions per ledger

$txMaxInstructions : int

Maximum instructions per transaction

$feeRatePerInstructionsIncrement : int

Cost of 10000 instructions

$txMemoryLimit : int

Memory limit per transaction.

setFeeRatePerInstructionsIncrement()

public setFeeRatePerInstructionsIncrement(int $feeRatePerInstructionsIncrement) : void
Parameters
$feeRatePerInstructionsIncrement : int

        
On this page

Search results