# Meta Transaction

## Built Meta Transaction

* Obtain the original `rawTransaction` information.
* Parse raw transaction to get fields like `nonce`, `gasprice`, `gaslimit`, `from address`, `to address`, `value`, `data`, etc.
* Take the above fields, as well as the fee discount percentage and other fields, and encode them in RLP format as follows for example.

> List result = new ArrayList();&#x20;
>
> result.add(RlpString.create(nonce));
>
> result.add(RlpString.create(gasPrice));&#x20;
>
> result.add(RlpString.create(gasLimit));&#x20;
>
> result.add(RlpString.create(receiveAddress));
>
> result.add(RlpString.create(value));&#x20;
>
> result.add(RlpString.create(data));&#x20;
>
> result.add(RlpString.create(sendAddress));&#x20;
>
> result.add(RlpString.create(feePercent));&#x20;
>
> result.add(RlpString.create(blockNumber));&#x20;
>
> result.add(RlpString.create(chainId));
>
> RlpList rlpList = new RlpList(result);&#x20;
>
> this.rlpEncodeData = RlpEncoder.encode(rlpList);

* Sign the above data by the fee proxy address.
* Replace the `data` filed in the original transaction with the signed data and re-encode it as `rawTransaction`.
* Broadcast `rawTransaction` to blockchain；


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://worldkoisan.gitbook.io/koisan-international-coin/koisan-chain/meta-transaction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
