Skip to content

OracleAttestationMessage

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / 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

version: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6800

Protocol version (current: 1)


chainId: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6802

Destination chain numeric ID


intentHash: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6804

Hash of original intent (32 bytes)


recipient: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6806

Recipient address, normalized to 32 bytes


amount: bigint

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6808

Amount delivered in smallest unit


assetId: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6810

Asset identifier hash (32 bytes)


txHash: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6812

Transaction hash on destination chain (32 bytes)


blockNumber: bigint

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6814

Block number containing transaction


blockHash: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6816

Block hash for finality verification (32 bytes)


timestamp: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6818

Unix timestamp of attestation creation