Developer Questions
What is the type of response for api call (get transaction details using transaction id)
We are retrieving transaction details using transaction id using JSON-RPC method but we need to know the type of response for API call. For example, if we try to retrieve Account NFTs we'll get response of type AccountNFTsResponse, likewise need response type for API call get transaction details using transaction id.
Sample code to retrieve transaction details,
const txInfo = await fetch({
method: 'tx',
params: [
{
transaction: txid,
binary: false
}
]
});
What is the type of txInfo object?
Xumm SDK, payload with multiple transactions?
Hi, for what I need (a simple payment page, in the browser, no backend needed, no nodejs, pure vanilla js)
WebSocket event for ignored/closed sign requests
Hi,
Hi im from XRPDomains - xrpdomains.xyz
Hello friends
I'm from xrpdomains.xyz, I used the view NFTs function on Xumm wallet and found that currently URIs don't support non-ascii characters and emoji, it won't read it and says no name found. Hope you can help update it. xrp.cafe can display it very well.
Is it possible to send webhooks also when the payload becomes expired?
Seems like webhooks are only sent when the payload is rejected or signed but it would be extremely useful if an expiration notification would also be delivered.
How to close connection or is it how it meant to work
this is my code i'm using to send a signIn payload. everything works fine. only problem i'm wondering is is it normal to keep it logging "New payload event: { expires_in_seconds: xxxxx}" in console every seconds.
i understand the events logs when its in process of signing in but the problem i have is it keep logging even after everything is done. resolved. i think it sorta build up and logs more and more each time. i create a payload eg. a user tried to generate a qrcode.
so my question is how to close connection after its been resolved or reject.