Skip to content

OracleAttestationMessage

SIP Protocol API Reference v0.7.0


SIP Protocol API Reference / OracleAttestationMessage

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:3784

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-BYZbDjal.d.ts:3786

Protocol version (current: 1)


chainId: number

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:3788

Destination chain numeric ID


intentHash: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:3790

Hash of original intent (32 bytes)


recipient: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:3792

Recipient address, normalized to 32 bytes


amount: bigint

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:3794

Amount delivered in smallest unit


assetId: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:3796

Asset identifier hash (32 bytes)


txHash: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:3798

Transaction hash on destination chain (32 bytes)


blockNumber: bigint

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:3800

Block number containing transaction


blockHash: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:3802

Block hash for finality verification (32 bytes)


timestamp: number

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:3804

Unix timestamp of attestation creation