Skip to content

OracleAttestationMessage

SIP Protocol API Reference v0.7.2


SIP Protocol API Reference / OracleAttestationMessage

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:3847

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-CzWPI6Le.d.ts:3849

Protocol version (current: 1)


chainId: number

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:3851

Destination chain numeric ID


intentHash: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:3853

Hash of original intent (32 bytes)


recipient: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:3855

Recipient address, normalized to 32 bytes


amount: bigint

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:3857

Amount delivered in smallest unit


assetId: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:3859

Asset identifier hash (32 bytes)


txHash: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:3861

Transaction hash on destination chain (32 bytes)


blockNumber: bigint

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:3863

Block number containing transaction


blockHash: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:3865

Block hash for finality verification (32 bytes)


timestamp: number

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:3867

Unix timestamp of attestation creation