# get_init_transfer_details · FT4 Rell API · Chromia Docs (concept)

> function get_ init_ transfer_ details(tx: gtx_ transaction, op_ index: integer): (tx_ rid: byte_ array, args: immutable_ mirror_ struct< init_transfer >, s

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.external.crosschain/get_init_transfer_details/

FUNCTION

# get\_init\_transfer\_details

```signature
function get_init_transfer_details(tx: gtx_transaction, op_index: integer): (tx_rid: byte_array, args: immutable_mirror_struct<init_transfer>, sender_account_id: byte_array)
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/external/crosschain/operations.rell#lines-1099)

Given a transaction that contains the `init_transfer` operation and the index it's at, this
function retrieves the transaction RID, the arguments to the `init_transfer` operation and
the ID of the sender account.

Throws `"INIT TRANSFER NOT FOUND"` if the `op_index` does not point to `init_transfer` on
`tx`

Throws if the operation preceding the `init_transfer` is not an auth operation

**Parameters**

* **tx** — the transaction containing the `init_transfer` operation
* **op\_index** — the index of the `init_transfer` operation in `tx`

**See Also**

* `core.auth.is_auth_op` — for information on auth operations

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.external.crosschain/get_init_transfer_details.html)Generated API reference, mirrored from the live docs
