interface PinningTx {
    blockHash: string;
    epoch: number;
    height: number;
    lastLeader: string;
    parentNetworkId: string;
    parentPayload: string;
    parentType: string;
}

Properties

blockHash: string

Base58Check encoded tagged hash

epoch: number

The epoch for which the pin is valid

height: number

the height of the pinned block (usually last block of )

lastLeader: string

The last leader in the epoch that could use this pin to collect the reward

parentNetworkId: string

the parent node id

parentPayload: string

this is the payload to post to the parent chain (standardized). Combines Epoch, Height and Hash.

parentType: string

chain type of parent (aeternity, btc, doge eventually supported)