# XRP

## Interface

### Deposit (Bridging request)

* User submit `toChain` & `toAddress` in the [BRIDGE](https://bridge.orbitchain.io/) (or direct to orbitchain xrpaddressbook contract) and issued `TAG`.
* The user requesting bridging sends Transfer Transaction with the `TAG` of the rule set in XRP Vault

### Withdraw (Bridging execution)

* Bridge Validator proceeds to consensus on Raw Transaction
* Each validator sign to Raw Transaction via own private key
* Using XRP's public Ledger API to broadcast multi-signing transaction

```javascript
Transaction Memo = [
    {
        type: "govId",
        data: "0x0000000000000000000000000000000000000000000000000000000000000000"
    },
    {
        type: "swapIndex",
        data: "123"
    }
]
```


---

# 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://bridge-docs.orbitchain.io/contract/vault/xrp.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.
