Constants

The following constants are available globally.

  • Declaration

    Objective-C

    extern double ZumoKitVersionNumber

    Swift

    var ZumoKitVersionNumber: Double
  • Declaration

    Objective-C

    extern const unsigned char ZumoKitVersionString[]
  • Corresponds to standard Ethereum account type and Bitcoin non-segwit account type P2PKH.

    Standard Bitcoin addresses always begin with 1 on Bitcoin Mainnet and m or n on Bitcoin Testnet.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKAccountTypeSTANDARD

    Swift

    let ZKAccountTypeSTANDARD: String
  • Corresponds to compatibilty Bitcoin account P2WPKH-nested-in-P2SH.

    These addresses always begin with 3 on Bitcoin Mainnet and 2 on Bitcoin Testnet.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKAccountTypeCOMPATIBILITY

    Swift

    let ZKAccountTypeCOMPATIBILITY: String
  • Corresponds to Segregated Witness Bitcoin account type P2WPKH and are also reffered to as bech32 addresses.

    These addresses always begin with bc1 on Bitcoin Mainnet and tb1 on Bitcoin Testnet.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKAccountTypeSEGWIT

    Swift

    let ZKAccountTypeSEGWIT: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCurrencyCodeGBP

    Swift

    let ZKCurrencyCodeGBP: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCurrencyCodeETH

    Swift

    let ZKCurrencyCodeETH: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCurrencyCodeBTC

    Swift

    let ZKCurrencyCodeBTC: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCurrencyTypeFIAT

    Swift

    let ZKCurrencyTypeFIAT: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCurrencyTypeCRYPTO

    Swift

    let ZKCurrencyTypeCRYPTO: String
  • Exchange has been paused by Transaction Service before being submitted to blockchain.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKExchangeStatusPAUSED

    Swift

    let ZKExchangeStatusPAUSED: String
  • Exchange has been rejected by Transaction Service before being submitted to blockchain.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKExchangeStatusREJECTED

    Swift

    let ZKExchangeStatusREJECTED: String
  • Deposit transaction has been submitted to blockchain.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKExchangeStatusPENDING

    Swift

    let ZKExchangeStatusPENDING: String
  • Deposit transaction has been mined and exchange has been initiated.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKExchangeStatusDEPOSITED

    Swift

    let ZKExchangeStatusDEPOSITED: String
  • Exchange was confirmed.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKExchangeStatusCONFIRMED

    Swift

    let ZKExchangeStatusCONFIRMED: String
  • Exchange has failed.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKExchangeStatusFAILED

    Swift

    let ZKExchangeStatusFAILED: String
  • Ethereum deposit transaction was overriden by sending the same transaction with higher gas price.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKExchangeStatusRESUBMITTED

    Swift

    let ZKExchangeStatusRESUBMITTED: String
  • Ethereum deposit transaction was overriden by a different transaction with higher gas price than the previously submitted transaction and with with the same nonce as that previously submitted transaction.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKExchangeStatusCANCELLED

    Swift

    let ZKExchangeStatusCANCELLED: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKNetworkTypeMAINNET

    Swift

    let ZKNetworkTypeMAINNET: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKNetworkTypeTESTNET

    Swift

    let ZKNetworkTypeTESTNET: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKNetworkTypeROPSTEN

    Swift

    let ZKNetworkTypeROPSTEN: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKNetworkTypeRINKEBY

    Swift

    let ZKNetworkTypeRINKEBY: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKNetworkTypeGOERLI

    Swift

    let ZKNetworkTypeGOERLI: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKNetworkTypeKOVAN

    Swift

    let ZKNetworkTypeKOVAN: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTimeIntervalHOUR

    Swift

    let ZKTimeIntervalHOUR: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTimeIntervalDAY

    Swift

    let ZKTimeIntervalDAY: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTimeIntervalWEEK

    Swift

    let ZKTimeIntervalWEEK: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTimeIntervalMONTH

    Swift

    let ZKTimeIntervalMONTH: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTimeIntervalQUARTER

    Swift

    let ZKTimeIntervalQUARTER: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTimeIntervalYEAR

    Swift

    let ZKTimeIntervalYEAR: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTransactionDirectionINCOMING

    Swift

    let ZKTransactionDirectionINCOMING: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTransactionDirectionOUTGOING

    Swift

    let ZKTransactionDirectionOUTGOING: String
  • Transaction has been paused by Transaction Service before being submitted to blockchain.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKTransactionStatusPAUSED

    Swift

    let ZKTransactionStatusPAUSED: String
  • Transaction has been rejected by Transaction Service before being submitted to blockchain.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKTransactionStatusREJECTED

    Swift

    let ZKTransactionStatusREJECTED: String
  • Transaction has been submitted to blockchain.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKTransactionStatusPENDING

    Swift

    let ZKTransactionStatusPENDING: String
  • Transacion was confirmed and added to blockchain.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKTransactionStatusCONFIRMED

    Swift

    let ZKTransactionStatusCONFIRMED: String
  • Transaction failed.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKTransactionStatusFAILED

    Swift

    let ZKTransactionStatusFAILED: String
  • Ethereum transaction was overriden by sending the same transaction with higher gas price.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKTransactionStatusRESUBMITTED

    Swift

    let ZKTransactionStatusRESUBMITTED: String
  • Ethereum transaction was overriden by a different transaction with higher gas price than the previously submitted transaction and with with the same nonce as that previously submitted transaction.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKTransactionStatusCANCELLED

    Swift

    let ZKTransactionStatusCANCELLED: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTransactionTypeCRYPTO

    Swift

    let ZKTransactionTypeCRYPTO: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTransactionTypeEXCHANGE

    Swift

    let ZKTransactionTypeEXCHANGE: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTransactionTypeFIAT

    Swift

    let ZKTransactionTypeFIAT: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTransactionTypeNOMINATED

    Swift

    let ZKTransactionTypeNOMINATED: String
  • Unknown error has occured.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeUNKNOWNERROR

    Swift

    let ZKZumoKitErrorCodeUNKNOWNERROR: String
  • New account could not be created. Account already exists.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeACCOUNTLIMITEXCEEDED

    Swift

    let ZKZumoKitErrorCodeACCOUNTLIMITEXCEEDED: String
  • Could not make user Modulr customer. User is already Modulr customer.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeALREADYMODULRCUSTOMER

    Swift

    let ZKZumoKitErrorCodeALREADYMODULRCUSTOMER: String
  • Requested account not found.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeACCOUNTNOTFOUND

    Swift

    let ZKZumoKitErrorCodeACCOUNTNOTFOUND: String
  • Amount not set. Either send max has to be enabled or send max set.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeAMOUNTNOTSET

    Swift

    let ZKZumoKitErrorCodeAMOUNTNOTSET: String
  • Invalid response received from ZumoKit API.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeAPISERVICEERROR

    Swift

    let ZKZumoKitErrorCodeAPISERVICEERROR: String
  • Bitcoin amount exceeds maximum 63 bit precision.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeBITCOINAMOUNTOVERFLOW

    Swift

    let ZKZumoKitErrorCodeBITCOINAMOUNTOVERFLOW: String
  • Requested change account not found.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeCHANGEACCOUNTNOTFOUND

    Swift

    let ZKZumoKitErrorCodeCHANGEACCOUNTNOTFOUND: String
  • Change output index out of range.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeCHANGEINDEXOUTOFRANGE

    Swift

    let ZKZumoKitErrorCodeCHANGEINDEXOUTOFRANGE: String
  • Transaction data overflow. Maximum data size supported by RLP encoding exceeds 16000000 bytes.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeDATAOVERFLOW

    Swift

    let ZKZumoKitErrorCodeDATAOVERFLOW: String
  • Cannot set data when send max enabled.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeDATAPROVIDEDWHENSENDMAXSET

    Swift

    let ZKZumoKitErrorCodeDATAPROVIDEDWHENSENDMAXSET: String
  • Destination cannot be set when withdrawing funds to nominated account.

    Declaration

    Objective-C

    extern NSString
        *const _Nonnull ZKZumoKitErrorCodeDESTINATIONPROVIDEDWHENWITHDRAWSET

    Swift

    let ZKZumoKitErrorCodeDESTINATIONPROVIDEDWHENWITHDRAWSET: String
  • Exchange amount too low.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeEXCHANGEAMOUNTTOOLOW

    Swift

    let ZKZumoKitErrorCodeEXCHANGEAMOUNTTOOLOW: String
  • Exchange currencies must be different.

    Declaration

    Objective-C

    extern NSString
        *const _Nonnull ZKZumoKitErrorCodeEXCHANGECURRENCIESMUSTBEDIFFERENT

    Swift

    let ZKZumoKitErrorCodeEXCHANGECURRENCIESMUSTBEDIFFERENT: String
  • Exchange amount too low. Fees exceed return value.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeEXCHANGERETURNVALUENEGATIVE

    Swift

    let ZKZumoKitErrorCodeEXCHANGERETURNVALUENEGATIVE: String
  • Gas too long. Cumulative gas limit and gas price should not exceed 30 bytes.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeGASOVERFLOW

    Swift

    let ZKZumoKitErrorCodeGASOVERFLOW: String
  • Gas too low. Gas price and gas limit should be higher than 0.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeGASTOOLOW

    Swift

    let ZKZumoKitErrorCodeGASTOOLOW: String
  • Change account and source accounts have to be on the same network.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINCOMPATIBLENETWORKTYPES

    Swift

    let ZKZumoKitErrorCodeINCOMPATIBLENETWORKTYPES: String
  • Unknown error has occured Incorrect account selected. Account currency does not match the requeirements of requested operation.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINCORRECTACCOUNTSELECTED

    Swift

    let ZKZumoKitErrorCodeINCORRECTACCOUNTSELECTED: String
  • Incorrect change account selected. Change account should be Bitcoin account on the same network as source account

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINCORRECTCHANGEACCOUNTSELECTED

    Swift

    let ZKZumoKitErrorCodeINCORRECTCHANGEACCOUNTSELECTED: String
  • Insufficient funds for transaction value and fee.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINSUFFICIENTFUNDS

    Swift

    let ZKZumoKitErrorCodeINSUFFICIENTFUNDS: String
  • Insufficient funds for exchange value.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINSUFFICIENTFUNDSFOREXCHANGE

    Swift

    let ZKZumoKitErrorCodeINSUFFICIENTFUNDSFOREXCHANGE: String
  • Insufficient funds for transaction value.

    Declaration

    Objective-C

    extern NSString
        *const _Nonnull ZKZumoKitErrorCodeINSUFFICIENTFUNDSFORTRANSACTION

    Swift

    let ZKZumoKitErrorCodeINSUFFICIENTFUNDSFORTRANSACTION: String
  • Account type not supported by the operation.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDACCOUNTTYPE

    Swift

    let ZKZumoKitErrorCodeINVALIDACCOUNTTYPE: String
  • Destination address is invalid.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDADDRESS

    Swift

    let ZKZumoKitErrorCodeINVALIDADDRESS: String
  • Invalid response received from API.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDAPIRESPONSE

    Swift

    let ZKZumoKitErrorCodeINVALIDAPIRESPONSE: String
  • Invalid or missing exchange deposit address.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDEXCHANGEDEPOSITADDRESS

    Swift

    let ZKZumoKitErrorCodeINVALIDEXCHANGEDEPOSITADDRESS: String
  • Mismatch between exchange rate and selected deposit/withdraw accounts.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDEXCHANGERATE

    Swift

    let ZKZumoKitErrorCodeINVALIDEXCHANGERATE: String
  • Mismatch between exchange settings and selected deposit/withdraw accounts.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDEXCHANGESETTINGS

    Swift

    let ZKZumoKitErrorCodeINVALIDEXCHANGESETTINGS: String
  • Invalid fee rate. Fee rate should be an integer value.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDFEERATE

    Swift

    let ZKZumoKitErrorCodeINVALIDFEERATE: String
  • Requested private key derivation path is invalid.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDHDWALLETPATH

    Swift

    let ZKZumoKitErrorCodeINVALIDHDWALLETPATH: String
  • Invalid length of mnemonic phrase. Mnemonic phrase should be 12, 15, 18, 21 or 24 words long.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDMNEMONICWORDCOUNT

    Swift

    let ZKZumoKitErrorCodeINVALIDMNEMONICWORDCOUNT: String
  • Network type not supported by requested operation.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDNETWORKTYPE

    Swift

    let ZKZumoKitErrorCodeINVALIDNETWORKTYPE: String
  • “Incorrect password provided.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDPASSWORD

    Swift

    let ZKZumoKitErrorCodeINVALIDPASSWORD: String
  • “The provided recovery phrase does not correspond to existing wallet.”

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDRECOVERYPHRASE

    Swift

    let ZKZumoKitErrorCodeINVALIDRECOVERYPHRASE: String
  • Invalid transaction type.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDTRANSACTIONTYPE

    Swift

    let ZKZumoKitErrorCodeINVALIDTRANSACTIONTYPE: String
  • Invalid transaction value.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDTRANSACTIONVALUE

    Swift

    let ZKZumoKitErrorCodeINVALIDTRANSACTIONVALUE: String
  • Invalid response received from WebSocket.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDWEBSOCKETRESPONSE

    Swift

    let ZKZumoKitErrorCodeINVALIDWEBSOCKETRESPONSE: String
  • Transaction already submitted.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeKNOWNTRANSACTION

    Swift

    let ZKZumoKitErrorCodeKNOWNTRANSACTION: String
  • No destination address. In case no transaction data is provided, destination address is obligatory.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeNODESTINATIONADDRESS

    Swift

    let ZKZumoKitErrorCodeNODESTINATIONADDRESS: String
  • No nominated account found.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeNONOMINATEDACCOUNTFOUND

    Swift

    let ZKZumoKitErrorCodeNONOMINATEDACCOUNTFOUND: String
  • Requested operation requies existance of a wallet. No wallet was found.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeNOWALLETFOUND

    Swift

    let ZKZumoKitErrorCodeNOWALLETFOUND: String
  • Nonce too long. Maximum supported nonce size is 32 bytes.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeNONCEOVERFLOW

    Swift

    let ZKZumoKitErrorCodeNONCEOVERFLOW: String
  • User session has expired.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeNOTAUTHORIZED

    Swift

    let ZKZumoKitErrorCodeNOTAUTHORIZED: String
  • Insufficient funds to pay the transaction fee.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeSENDMAXINSUFFICIENTFUNDSFORFEE

    Swift

    let ZKZumoKitErrorCodeSENDMAXINSUFFICIENTFUNDSFORFEE: String
  • Transaction amount is too small to send after the fee has been deducted.

    Declaration

    Objective-C

    extern NSString
        *const _Nonnull ZKZumoKitErrorCodeSENDMAXINSUFFICIENTFUNDSFORTRANSACTION

    Swift

    let ZKZumoKitErrorCodeSENDMAXINSUFFICIENTFUNDSFORTRANSACTION: String
  • Something went wrong signing transaction.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeSIGNINGERROR

    Swift

    let ZKZumoKitErrorCodeSIGNINGERROR: String
  • Transaction amount too small to send.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeTRANSACTIONAMOUNTTOOSMALL

    Swift

    let ZKZumoKitErrorCodeTRANSACTIONAMOUNTTOOSMALL: String
  • Invalid response received from ZumoKit Transaction Service API.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeTRANSACTIONSERVICEERROR

    Swift

    let ZKZumoKitErrorCodeTRANSACTIONSERVICEERROR: String
  • Resulting transaction is too large.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeTRANSACTIONTOOLARGE

    Swift

    let ZKZumoKitErrorCodeTRANSACTIONTOOLARGE: String
  • Fiat account could no be created. User is not yet a Modulr customer on selected network.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeUSERNOTMODULRCUSTOMER

    Swift

    let ZKZumoKitErrorCodeUSERNOTMODULRCUSTOMER: String
  • Unspent transaction output could not be signed.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeUTXOSIGNINGERROR

    Swift

    let ZKZumoKitErrorCodeUTXOSIGNINGERROR: String
  • Cannot set amount when send max enabled. Set amount to null if trying t send maximum funds.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeAMOUNTPROVIDEDWHENSENDMAXSET

    Swift

    let ZKZumoKitErrorCodeAMOUNTPROVIDEDWHENSENDMAXSET: String
  • Wallet could not be created. Wallet already exists.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeWALLETLIMITEXCEEDED

    Swift

    let ZKZumoKitErrorCodeWALLETLIMITEXCEEDED: String
  • Invalid user token set. User token set should be a valid stringified JSON with accessToken, refreshToken and expiresIn properties.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDUSERTOKENSET

    Swift

    let ZKZumoKitErrorCodeINVALIDUSERTOKENSET: String
  • Base ZumoKit error.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorTypeZUMOKITERROR

    Swift

    let ZKZumoKitErrorTypeZUMOKITERROR: String
  • Failure to connect to ZumoKit’s API.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorTypeAPICONNECTIONERROR

    Swift

    let ZKZumoKitErrorTypeAPICONNECTIONERROR: String
  • Default error if something goes wrong on our side.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorTypeAPIERROR

    Swift

    let ZKZumoKitErrorTypeAPIERROR: String
  • Failed to authenticate with ZumoKit’s API.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorTypeAUTHENTICATIONERROR

    Swift

    let ZKZumoKitErrorTypeAUTHENTICATIONERROR: String
  • Wallet errors are the most common type of error you should expect to handle. They result when user’s wallet action can’t be performed, e.g. balance too low or invalid wallet password are such errors.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorTypeWALLETERROR

    Swift

    let ZKZumoKitErrorTypeWALLETERROR: String
  • Invalid request errors arise when request to API has invalid parameters.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorTypeINVALIDREQUESTERROR

    Swift

    let ZKZumoKitErrorTypeINVALIDREQUESTERROR: String
  • Too many requests hit the API too quickly.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorTypeRATELIMITERROR

    Swift

    let ZKZumoKitErrorTypeRATELIMITERROR: String
  • Errors triggered when failing to validate arguments, e.g. when a destination address is invalid.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorTypeINVALIDARGUMENTERROR

    Swift

    let ZKZumoKitErrorTypeINVALIDARGUMENTERROR: String
  • Declaration

    Objective-C

    FOUNDATION_EXPORT NSString *__nonnull const ZumoKitDomain

    Swift

    let ZumoKitDomain: String

userInfo keys