SuperPosition Events

Introduction

These queries keep track of the transfers taking place for SuperPostions which represent mint and burn actions.

Core Concepts

TransferSingle

These represent the transfer of single type of SuperPositions from one address to another and can be queried using-

{
  transferSingle(id:"0x39ded18f629cb43a7f1ead4365a68137fabddf3f3e72cdda451a7932a4914c63"){
    operator
    from
    to
    superPositionID
    transactionHash
    value
    blockNumber
    blockTimestamp
  }
}

The fields of TransferSingle are as follows-

  1. operator- User which triggered the transfer and for burn and mint this can be considered as the msg.sender

  2. from- Address from which transfer is done

  3. to- Address to which transfer is done

  4. superPositionID- Superposition ID for which the transfer is done. This also happens to be the superform IDs for which Mint or Burn has been done.

  5. value- Value of superpositions that were transferred for the transaction

TransferBatch

These represent the transfer of multiple type of SuperPositions from one address to another and can be queried using-

{
  transferBatches(first:5){
    operator
    from
    to
    superPositionsID
    transactionHash
    values
    blockTimestamp
    blockNumber
  }
}

The fields of TransferBatch are as follows-

  1. operator- User which triggered the transfer and for burn and mint this can be considered as the msg.sender

  2. from- Address from which transfer is done

  3. to- Address to which transfer is done

  4. superPositionsId- List of Superposition IDs for which the transfer is done. This also happens to be the superform IDs for which Mint or Burn has been done.

  5. value- Values of superpositions that were transferred for the transaction for the various superforms

  6. blockNumber- Block in which the transfer was done

Last updated