Skip to main content

Returns all stored receipts for a given migration index.

GET 

/api/core/v2/receipts/:migratedAt

Returns all stored receipts for a given migration index.

Request

Path Parameters

    migratedAt numberrequired

    Migration index to look up.

    Example: 1000

Responses

Successful operation.

Schema
    receipts ReceiptTuple[]required
  • Array [
  • receipt ReceiptPayloadrequired

    Contains a receipt and the index of the milestone which contained the receipt.

    type integerrequired

    Type identifier of a receipt payload (3).

    migratedAt integerrequired
    final booleanrequired
    funds MigratedFundsEntry[]required
  • Array [
  • tailTransactionHash stringrequired
    address objectrequired
    oneOf
    type integerrequired

    Set to value 0 to denote an Ed25519 Address.

    pubKeyHash stringrequired

    The hex-encoded, 0x prefixed BLAKE2b-256 hash of the Ed25519 public key

    deposit integerrequired
  • ]
  • transaction TreasuryTransactionPayloadrequired
    type integerrequired

    Set to value 4 to denote a Treasury Payload.

    input TreasuryInput
    type integerrequired

    Set to value 1 to denote a TreasuryInput.

    milestoneId stringrequired

    Hex-encoded with 0x prefix.

    output TreasuryOutput
    type integerrequired

    Set to value 2 to denote a TreasuryOutput.

    amount stringrequired

    Amount of IOTA tokens in the treasury. Plain string encoded number.

    milestoneIndex integerrequired
  • ]
Loading...