@yoroi/types
Version:
The Yoroi Types package of Yoroi SDK
37 lines (35 loc) • 630 B
Flow
/**
* Flowtype definitions for api
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.21.0
*/
export type ClaimApiClaimTokensRequestPayload = {
address: string,
code: string,
[key: string]: mixed,
};
export type ClaimApiClaimTokensResponse = {
...{
lovelaces: string,
tokens: {
[tokenId: string]: string,
},
...
},
...
| {
status: "accepted",
queue_position: number,
...
}
| {
status: "queued",
queue_position: number,
...
}
| {
status: "claimed",
tx_hash: string,
...
},
};