Skip to content

Commit

Permalink
docs: update docs for base transfers
Browse files Browse the repository at this point in the history
  • Loading branch information
HoangVD2 committed May 6, 2024
1 parent aff5489 commit b74e187
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
12 changes: 10 additions & 2 deletions developers/_xfi.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,19 @@ window.xfi[chainId].request(
method: "transfer",
params: [
{
asset: "string",
from: "string",
asset: {
chain: "string",
symbol: "string",
ticker: "string",
}
from: {
amount: number,
decimals: number,
},
recipient: "string",
amount: "string",
memo: "string",
gasLimit: number, // Optional
},
],
},
Expand Down
13 changes: 11 additions & 2 deletions developers/other-blockchains.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,25 @@ Above code will return `Promise<Signature | RPC: 2.0>`
#### Transfer

```javascript

window.xfi[chainId].request(
{
method: "transfer",
params: [
{
asset: "string",
from: "string",
asset: {
chain: "string",
symbol: "string",
ticker: "string",
}
from: {
amount: number,
decimals: number,
},
recipient: "string",
amount: "string",
memo: "string",
gasLimit: number, // Optional
},
],
},
Expand Down

0 comments on commit b74e187

Please sign in to comment.