FUNCTION

tx.sign

function sign(keypairs: list<keypair>): tx

Add the given list of keypairs as signers of this test transaction builder.

When this builder is built, the transaction will be signed with all keypairs in the list.

Parameters

  • keypairs — the list of keypairs with which to sign this transaction

Since

0.10.4


function sign(keypairs: keypair...): tx

Add the given keypairs as signers of this test transaction builder.

When this builder is built, the transaction will be signed with all given keypairs.

Parameters

  • keypairs — the keypairs with which to sign this transaction

Since

0.10.4


function sign(privkeys: list<byte_array>): tx

Add the given list of private keys as signers of this test transaction builder.

When this builder is built, the transaction will be signed with all private keys in the list.

Parameters

  • privkeys — the list of private keys with which to sign this transaction

Since

0.10.4


function sign(privkeys: byte_array...): tx

Add the given private keys as signers of this test transaction builder.

When this builder is built, the transaction will be signed with all given private keys.

Parameters

  • privkeys — the private keys with which to sign this transaction

Since

0.10.4

© 2026 Chromia