OracleAttestationMessage
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / OracleAttestationMessage
Interface: OracleAttestationMessage
Section titled “Interface: OracleAttestationMessage”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6798
The canonical message format that oracles sign
This structure is serialized deterministically for signing. Total serialized size: 197 bytes
Properties
Section titled “Properties”version
Section titled “version”version:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6800
Protocol version (current: 1)
chainId
Section titled “chainId”chainId:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6802
Destination chain numeric ID
intentHash
Section titled “intentHash”intentHash:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6804
Hash of original intent (32 bytes)
recipient
Section titled “recipient”recipient:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6806
Recipient address, normalized to 32 bytes
amount
Section titled “amount”amount:
bigint
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6808
Amount delivered in smallest unit
assetId
Section titled “assetId”assetId:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6810
Asset identifier hash (32 bytes)
txHash
Section titled “txHash”txHash:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6812
Transaction hash on destination chain (32 bytes)
blockNumber
Section titled “blockNumber”blockNumber:
bigint
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6814
Block number containing transaction
blockHash
Section titled “blockHash”blockHash:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6816
Block hash for finality verification (32 bytes)
timestamp
Section titled “timestamp”timestamp:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6818
Unix timestamp of attestation creation