// From hex strings (common in RPC responses)
const bid = BuilderBid.from({
slot: '0x1e240',
parentHash: '0x' + '11'.repeat(32),
blockHash: '0x' + '22'.repeat(32),
builderPubkey: '0x' + '33'.repeat(48),
proposerPubkey: '0x' + '44'.repeat(48),
proposerFeeRecipient: '0x' + '55'.repeat(20),
gasLimit: '0x1c9c380',
gasUsed: '0x17d7840',
value: '0xde0b6b3a7640000',
signature: '0x' + '66'.repeat(96),
})
// From native types
const bid = BuilderBid.from({
slot: 123456n,
parentHash: new Uint8Array(32).fill(1),
blockHash: new Uint8Array(32).fill(2),
builderPubkey: new Uint8Array(48).fill(3),
proposerPubkey: new Uint8Array(48).fill(4),
proposerFeeRecipient: new Uint8Array(20).fill(5),
gasLimit: 30000000n,
gasUsed: 25000000n,
value: 1000000000000000000n,
signature: new Uint8Array(96).fill(6),
})