Menu

## MinerFees
in package

MinerFees.php : 22

The total amount of fees that the purchaser will pay to cover BitPay's UTXO sweep cost for an invoice.

The key is the currency and the value is an object containing the satoshis per byte, the total fee, and the fiat amount. This is referenced as "Network Cost" on an invoice, see this support article for more information.

##### Tags

author

  BitPay Integrations integrations@bitpay.com

license

  http://www.opensource.org/licenses/mit-license.php MIT

see
  https://bitpay.readme.io/reference/invoices

  REST API Invoices

### Table of Contents

#### Properties

$bch : MinerFeesItem
$btc : MinerFeesItem
$busd : MinerFeesItem
$dai : MinerFeesItem
$doge : MinerFeesItem
$eth : MinerFeesItem
$gusd : MinerFeesItem
$ltc : MinerFeesItem
$pax : MinerFeesItem
$usdc : MinerFeesItem
$wbtc : MinerFeesItem
$xrp : MinerFeesItem

#### Methods

__construct() : mixed
  MinerFees constructor.
getBCH() : MinerFeesItem
  Gets BCH.
getBTC() : MinerFeesItem
  Gets BTC.
getBUSD() : MinerFeesItem
  Gets BUSD.
getDAI() : MinerFeesItem
  Gets DAI.
getDOGE() : MinerFeesItem
  Gets DOGE.
getETH() : MinerFeesItem
  Gets ETH.
getGUSD() : MinerFeesItem
  Gets GUSD.
getLTC() : MinerFeesItem
  Gets LTC.
getPAX() : MinerFeesItem
  Gets PAX.
getUSDC() : MinerFeesItem
  Gets USDC.
getWBTC() : MinerFeesItem
  Gets WBTC.
getXRP() : MinerFeesItem
  Gets XRP.
setBCH() : void
  Sets BCH.
setBTC() : void
  Sets BTC.
setBUSD() : void
  Sets BUSD.
setDAI() : void
  Sets DAI.
setDOGE() : void
  Sets DOGE.
setETH() : void
  Sets ETH.
setGUSD() : void
  Sets GUSD.
setLTC() : void
  Sets LTC.
setPAX() : void
  Sets PAX.
setUSDC() : void
  Sets USDC.
setWBTC() : void
  Sets WBTC.
setXRP() : void
  Sets XRP.
toArray() : array<string|int, mixed>
  Return array with details for currencies.

### Properties

#### $bch

MinerFees.php : 25
`protected MinerFeesItem $bch`

#### $btc

MinerFees.php : 24
`protected MinerFeesItem $btc`

#### $busd

MinerFees.php : 30
`protected MinerFeesItem $busd`

#### $dai

MinerFees.php : 34
`protected MinerFeesItem $dai`

#### $doge

MinerFees.php : 32
`protected MinerFeesItem $doge`

#### $eth

MinerFees.php : 26
`protected MinerFeesItem $eth`

#### $gusd

MinerFees.php : 28
`protected MinerFeesItem $gusd`

#### $ltc

MinerFees.php : 33
`protected MinerFeesItem $ltc`

#### $pax

MinerFees.php : 29
`protected MinerFeesItem $pax`

#### $usdc

MinerFees.php : 27
`protected MinerFeesItem $usdc`

#### $wbtc

MinerFees.php : 35
`protected MinerFeesItem $wbtc`

#### $xrp

MinerFees.php : 31
`protected MinerFeesItem $xrp`

### Methods

#### __construct()

MinerFees.php : 40

MinerFees constructor.

`public __construct() : mixed`

#### getBCH()

MinerFees.php : 81

Gets BCH.

`public getBCH() : MinerFeesItem`

##### Return values

MinerFeesItem

#### getBTC()

MinerFees.php : 61

Gets BTC.

`public getBTC() : MinerFeesItem`

##### Return values

MinerFeesItem

#### getBUSD()

MinerFees.php : 181

Gets BUSD.

`public getBUSD() : MinerFeesItem`

##### Return values

MinerFeesItem

#### getDAI()

MinerFees.php : 261

Gets DAI.

`public getDAI() : MinerFeesItem`

##### Return values

MinerFeesItem

#### getDOGE()

MinerFees.php : 221

Gets DOGE.

`public getDOGE() : MinerFeesItem`

##### Return values

MinerFeesItem

#### getETH()

MinerFees.php : 101

Gets ETH.

`public getETH() : MinerFeesItem`

##### Return values

MinerFeesItem

#### getGUSD()

MinerFees.php : 141

Gets GUSD.

`public getGUSD() : MinerFeesItem`

##### Return values

MinerFeesItem

#### getLTC()

MinerFees.php : 241

Gets LTC.

`public getLTC() : MinerFeesItem`

##### Return values

MinerFeesItem

#### getPAX()

MinerFees.php : 161

Gets PAX.

`public getPAX() : MinerFeesItem`

##### Return values

MinerFeesItem

#### getUSDC()

MinerFees.php : 121

Gets USDC.

`public getUSDC() : MinerFeesItem`

##### Return values

MinerFeesItem

#### getWBTC()

MinerFees.php : 281

Gets WBTC.

`public getWBTC() : MinerFeesItem`

##### Return values

MinerFeesItem

#### getXRP()

MinerFees.php : 201

Gets XRP.

`public getXRP() : MinerFeesItem`

##### Return values

MinerFeesItem

#### setBCH()

MinerFees.php : 91

Sets BCH.

`public setBCH(MinerFeesItem $bch) : void`

##### Parameters

$bch : MinerFeesItem

  the BCH

#### setBTC()

MinerFees.php : 71

Sets BTC.

`public setBTC(MinerFeesItem $btc) : void`

##### Parameters

$btc : MinerFeesItem

  the BTC

#### setBUSD()

MinerFees.php : 191

Sets BUSD.

`public setBUSD(MinerFeesItem $busd) : void`

##### Parameters

$busd : MinerFeesItem

  the BUSD

#### setDAI()

MinerFees.php : 271

Sets DAI.

`public setDAI(MinerFeesItem $dai) : void`

##### Parameters

$dai : MinerFeesItem

#### setDOGE()

MinerFees.php : 231

Sets DOGE.

`public setDOGE(MinerFeesItem $doge) : void`

##### Parameters

$doge : MinerFeesItem

  the DOGE

#### setETH()

MinerFees.php : 111

Sets ETH.

`public setETH(MinerFeesItem $eth) : void`

##### Parameters

$eth : MinerFeesItem

  the ETH

#### setGUSD()

MinerFees.php : 151

Sets GUSD.

`public setGUSD(MinerFeesItem $gusd) : void`

##### Parameters

$gusd : MinerFeesItem

  the GUSD

#### setLTC()

MinerFees.php : 251

Sets LTC.

`public setLTC(MinerFeesItem $ltc) : void`

##### Parameters

$ltc : MinerFeesItem

  the LTC

#### setPAX()

MinerFees.php : 171

Sets PAX.

`public setPAX(MinerFeesItem $pax) : void`

##### Parameters

$pax : MinerFeesItem

  the PAX

#### setUSDC()

MinerFees.php : 131

Sets USDC.

`public setUSDC(MinerFeesItem $usdc) : void`

##### Parameters

$usdc : MinerFeesItem

  the USDC

#### setWBTC()

MinerFees.php : 291

Sets WBTC.

`public setWBTC(MinerFeesItem $wbtc) : void`

##### Parameters

$wbtc : MinerFeesItem

#### setXRP()

MinerFees.php : 211

Sets XRP.

`public setXRP(MinerFeesItem $xrp) : void`

##### Parameters

$xrp : MinerFeesItem

  the XRP

#### toArray()

MinerFees.php : 301

Return array with details for currencies.

`public toArray() : array<string|int, mixed>`

##### Return values

array<string|int, mixed>

## Search results