You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

types.ts 556B

1234567891011121314151617181920212223242526
  1. export type Memo = {
  2. type?: string
  3. format?: string
  4. data?: string
  5. }
  6. export type Wallet = {secret: string, address:string }
  7. export type Signature = {signature: string, signer: PublicKey}
  8. export type Address = string
  9. export type Secret = string
  10. export type PublicKey = string
  11. export type Amount = number
  12. export type TxHash = string
  13. export type Options = {
  14. debug?: boolean
  15. connectionTimeout?: number
  16. readFreshApi?: boolean
  17. }
  18. export const defaultOptions = {
  19. debug: false,
  20. connectionTimeout: 100000,
  21. readFreshApi: true
  22. }