Home Reference Source

Typedef

Static Public Summary
public

BaseRPCResponse: Object

public

Destination: Object

public
public
public
public
public
public
public
public

Payment: Object

public

Static Public

public BaseRPCResponse: Object source

Properties:

NameTypeAttributeDescription
status string

General RPC error code. "OK" means everything looks good.

public Destination: Object source

Properties:

NameTypeAttributeDescription
amount uint

Amount to send to each destination, in atomic units.

address string

Destination public address.

public Destinations: array<Destination> source

public GetAddressResponse: Object source

Properties:

NameTypeAttributeDescription
address string

The 95-character hex address string of the monero-wallet-rpc in session.

public GetBalanceResponse: Object source

Properties:

NameTypeAttributeDescription
balance uint

The total balance of the current monero-wallet-rpc in session.

unlockedBalance uint

Unlocked funds are those funds that are sufficiently deep enough in the Monero blockchain to be considered safe to spend.

public GetBlockCountResponse: BaseRPCResponse source

Properties:

NameTypeAttributeDescription
count int

Block count.

public GetBlockTemplateResponse: BaseRPCResponse source

Properties:

NameTypeAttributeDescription
blocktemplateBlob string

Blob on which to try to mine a new block.

difficulty uint

Difficulty of next block.

height uint

Height on which to mine.

prevHash string

Hash of the most recent block on which to mine the next block.

reservedOffset uint

Reserved offset.

public GetHeightResponse: Object source

Properties:

NameTypeAttributeDescription
- uint

The current monero-wallet-rpc's blockchain height. If the wallet has been offline for a long time, it may need to catch up with the daemon.

public GetPaymentsResponse: Object source

Properties:

NameTypeAttributeDescription
payments array<Payment>

public Payment: Object source

Properties:

NameTypeAttributeDescription
paymentId string
txHash string
amount uint
blockHeight uint
unlockTime uint

public TransferResponse: Object source

Properties:

NameTypeAttributeDescription
fee int
txHash string
txKey string
txBlob string
  • optional