mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-07-31 06:01:24 +00:00
add RVN wallet
This commit is contained in:
@@ -101,3 +101,17 @@ export const sendDoge = (requestObject) => {
|
||||
body: JSON.stringify(requestObject)
|
||||
})
|
||||
}
|
||||
|
||||
// Send RVN
|
||||
export const sendRvn = (requestObject) => {
|
||||
const myNode = window.parent.reduxStore.getState().app.nodeConfig.knownNodes[window.parent.reduxStore.getState().app.nodeConfig.node];
|
||||
|
||||
return request(`/crosschain/rvn/send?apiKey=${myNode.apiKey}`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Accept': 'application/json',
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: JSON.stringify(requestObject)
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user