# tx.sign · Rell standard library · Chromia Docs (concept)

> 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 t

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/rell.test/tx/sign/

FUNCTION

# tx.sign

```signature
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

---

```signature
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

---

```signature
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

---

```signature
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

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/rell.test/tx/sign.html)Generated API reference, mirrored from the live docs
