Constants
The following constants are available globally.
-
Declaration
Objective-C
extern double ZumoKitVersionNumberSwift
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 ZKAccountTypeSTANDARDSwift
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 ZKAccountTypeCOMPATIBILITYSwift
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 ZKAccountTypeSEGWITSwift
let ZKAccountTypeSEGWIT: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKCardStatusCREATEDSwift
let ZKCardStatusCREATED: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKCardStatusACTIVESwift
let ZKCardStatusACTIVE: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKCardStatusBLOCKEDSwift
let ZKCardStatusBLOCKED: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKCardStatusSUSPENDEDSwift
let ZKCardStatusSUSPENDED: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKCardStatusFROZENSwift
let ZKCardStatusFROZEN: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKCardStatusEXPIREDSwift
let ZKCardStatusEXPIRED: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKCardStatusCANCELLEDSwift
let ZKCardStatusCANCELLED: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKCardTypeVIRTUALSwift
let ZKCardTypeVIRTUAL: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKCardTypePHYSICALSwift
let ZKCardTypePHYSICAL: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKCurrencyCodeGBPSwift
let ZKCurrencyCodeGBP: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKCurrencyCodeEURSwift
let ZKCurrencyCodeEUR: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKCurrencyCodeUSDSwift
let ZKCurrencyCodeUSD: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKCurrencyCodeETHSwift
let ZKCurrencyCodeETH: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKCurrencyCodeBTCSwift
let ZKCurrencyCodeBTC: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKCurrencyCodeBSVSwift
let ZKCurrencyCodeBSV: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKCurrencyTypeFIATSwift
let ZKCurrencyTypeFIAT: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKCurrencyTypeCRYPTOSwift
let ZKCurrencyTypeCRYPTO: String -
Custody order has been created and is awaiting command to be executed.
Declaration
Objective-C
extern NSString *const _Nonnull ZKCustodyOrderStatusNEWSwift
let ZKCustodyOrderStatusNEW: String -
Custody order has been submitted to blockchain.
Declaration
Objective-C
extern NSString *const _Nonnull ZKCustodyOrderStatusPENDINGSwift
let ZKCustodyOrderStatusPENDING: String -
Custody order was confirmed and added to blockchain.
Declaration
Objective-C
extern NSString *const _Nonnull ZKCustodyOrderStatusCONFIRMEDSwift
let ZKCustodyOrderStatusCONFIRMED: String -
Custody order failed.
Declaration
Objective-C
extern NSString *const _Nonnull ZKCustodyOrderStatusFAILEDSwift
let ZKCustodyOrderStatusFAILED: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKCustodyOrderTypeDEPOSITSwift
let ZKCustodyOrderTypeDEPOSIT: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKCustodyOrderTypeWITHDRAWSwift
let ZKCustodyOrderTypeWITHDRAW: String -
Funds on custody accounts are managed by Zumo. User does not need to unlock wallet to manage his funds.
Declaration
Objective-C
extern NSString *const _Nonnull ZKCustodyTypeCUSTODYSwift
let ZKCustodyTypeCUSTODY: String -
Funds on non-custody accounts are managed by the end user. User needs to unlock wallet to manage his funds.
Declaration
Objective-C
extern NSString *const _Nonnull ZKCustodyTypeNONCUSTODYSwift
let ZKCustodyTypeNONCUSTODY: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKExchangeSideBUYSwift
let ZKExchangeSideBUY: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKExchangeSideSELLSwift
let ZKExchangeSideSELL: String -
Outgoing transaction has been submitted.
Declaration
Objective-C
extern NSString *const _Nonnull ZKExchangeStatusPENDINGSwift
let ZKExchangeStatusPENDING: String -
Outgoing transaction has been mined and return transaction has been initiated.
Declaration
Objective-C
extern NSString *const _Nonnull ZKExchangeStatusWITHDRAWINGSwift
let ZKExchangeStatusWITHDRAWING: String -
Exchange was confirmed.
Declaration
Objective-C
extern NSString *const _Nonnull ZKExchangeStatusCONFIRMEDSwift
let ZKExchangeStatusCONFIRMED: String -
Exchange has failed.
Declaration
Objective-C
extern NSString *const _Nonnull ZKExchangeStatusFAILEDSwift
let ZKExchangeStatusFAILED: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKNetworkTypeMAINNETSwift
let ZKNetworkTypeMAINNET: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKNetworkTypeTESTNETSwift
let ZKNetworkTypeTESTNET: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKNetworkTypeROPSTENSwift
let ZKNetworkTypeROPSTEN: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKNetworkTypeRINKEBYSwift
let ZKNetworkTypeRINKEBY: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKNetworkTypeGOERLISwift
let ZKNetworkTypeGOERLI: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKNetworkTypeKOVANSwift
let ZKNetworkTypeKOVAN: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKTimeIntervalHOURSwift
let ZKTimeIntervalHOUR: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKTimeIntervalDAYSwift
let ZKTimeIntervalDAY: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKTimeIntervalWEEKSwift
let ZKTimeIntervalWEEK: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKTimeIntervalMONTHSwift
let ZKTimeIntervalMONTH: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKTimeIntervalQUARTERSwift
let ZKTimeIntervalQUARTER: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKTimeIntervalYEARSwift
let ZKTimeIntervalYEAR: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKTimeIntervalMAXSwift
let ZKTimeIntervalMAX: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKTransactionDirectionSENTSwift
let ZKTransactionDirectionSENT: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKTransactionDirectionRECEIVEDSwift
let ZKTransactionDirectionRECEIVED: String -
Transaction has been paused by Transaction Service before being submitted to blockchain.
Declaration
Objective-C
extern NSString *const _Nonnull ZKTransactionStatusPAUSEDSwift
let ZKTransactionStatusPAUSED: String -
Transaction has been rejected by Transaction Service before being submitted to blockchain.
Declaration
Objective-C
extern NSString *const _Nonnull ZKTransactionStatusREJECTEDSwift
let ZKTransactionStatusREJECTED: String -
Transaction has been submitted to blockchain.
Declaration
Objective-C
extern NSString *const _Nonnull ZKTransactionStatusPENDINGSwift
let ZKTransactionStatusPENDING: String -
Transacion was confirmed and added to blockchain.
Declaration
Objective-C
extern NSString *const _Nonnull ZKTransactionStatusCONFIRMEDSwift
let ZKTransactionStatusCONFIRMED: String -
Transaction failed.
Declaration
Objective-C
extern NSString *const _Nonnull ZKTransactionStatusFAILEDSwift
let ZKTransactionStatusFAILED: String -
Ethereum transaction was overriden by sending the same transaction with higher gas price.
Declaration
Objective-C
extern NSString *const _Nonnull ZKTransactionStatusRESUBMITTEDSwift
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 ZKTransactionStatusCANCELLEDSwift
let ZKTransactionStatusCANCELLED: String -
Card transaction was authorised.
Declaration
Objective-C
extern NSString *const _Nonnull ZKTransactionStatusAUTHORISEDSwift
let ZKTransactionStatusAUTHORISED: String -
Card transaction was reversed.
Declaration
Objective-C
extern NSString *const _Nonnull ZKTransactionStatusREVERSEDSwift
let ZKTransactionStatusREVERSED: String -
Transaction was refunded.
Declaration
Objective-C
extern NSString *const _Nonnull ZKTransactionStatusREFUNDEDSwift
let ZKTransactionStatusREFUNDED: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKTransactionTypeCUSTODYSwift
let ZKTransactionTypeCUSTODY: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKTransactionTypeCUSTODYDEPOSITSwift
let ZKTransactionTypeCUSTODYDEPOSIT: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKTransactionTypeCUSTODYWITHDRAWSwift
let ZKTransactionTypeCUSTODYWITHDRAW: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKTransactionTypeCRYPTOSwift
let ZKTransactionTypeCRYPTO: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKTransactionTypeFIATSwift
let ZKTransactionTypeFIAT: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKTransactionTypeNOMINATEDSwift
let ZKTransactionTypeNOMINATED: String -
Declaration
Objective-C
extern NSString * __nonnull const ZKTransactionTypeCARDSwift
let ZKTransactionTypeCARD: String -
Unknown error has occured.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeUNKNOWNERRORSwift
let ZKZumoKitErrorCodeUNKNOWNERROR: String -
No internet connection.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeNOCONNECTIONSwift
let ZKZumoKitErrorCodeNOCONNECTION: String -
Requested account not found.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeACCOUNTNOTFOUNDSwift
let ZKZumoKitErrorCodeACCOUNTNOTFOUND: String -
Amount not set. Either send max has to be enabled or send max set.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeAMOUNTNOTSETSwift
let ZKZumoKitErrorCodeAMOUNTNOTSET: String -
Invalid response received from ZumoKit API.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeAPISERVICEERRORSwift
let ZKZumoKitErrorCodeAPISERVICEERROR: String -
Requested card not found.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeCARDNOTFOUNDSwift
let ZKZumoKitErrorCodeCARDNOTFOUND: String -
Invalid response received from ZumoKit Card Service API.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeCARDSERVICEERRORSwift
let ZKZumoKitErrorCodeCARDSERVICEERROR: String -
Requested change account not found.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeCHANGEACCOUNTNOTFOUNDSwift
let ZKZumoKitErrorCodeCHANGEACCOUNTNOTFOUND: String -
Change output index out of range.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeCHANGEINDEXOUTOFRANGESwift
let ZKZumoKitErrorCodeCHANGEINDEXOUTOFRANGE: String -
Currency not supported.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeCURRENCYNOTSUPPORTEDSwift
let ZKZumoKitErrorCodeCURRENCYNOTSUPPORTED: String -
Transaction data overflow. Maximum data size supported by RLP encoding exceeds 16000000 bytes.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeDATAOVERFLOWSwift
let ZKZumoKitErrorCodeDATAOVERFLOW: String -
Cannot set data when send max enabled.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeDATAPROVIDEDWHENSENDMAXSETSwift
let ZKZumoKitErrorCodeDATAPROVIDEDWHENSENDMAXSET: String -
Ethereum transaction data is not supported yet.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeETHEREUMTRANSACTIONDATANOTSUPPORTEDSwift
let ZKZumoKitErrorCodeETHEREUMTRANSACTIONDATANOTSUPPORTED: String -
Invalid account provided. Fiat accounted expected.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeFIATACCOUNTEXPECTEDSwift
let ZKZumoKitErrorCodeFIATACCOUNTEXPECTED: String -
Gas too long. Cumulative gas limit and gas price should not exceed 30 bytes.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeGASOVERFLOWSwift
let ZKZumoKitErrorCodeGASOVERFLOW: String -
Gas too low. Gas price and gas limit should be higher than 0.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeGASTOOLOWSwift
let ZKZumoKitErrorCodeGASTOOLOW: String -
Change account and source accounts have to be on the same network.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeINCOMPATIBLENETWORKTYPESSwift
let ZKZumoKitErrorCodeINCOMPATIBLENETWORKTYPES: String -
Incorrect account selected. Account does not match the requirements of requested operation.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeINCORRECTACCOUNTSELECTEDSwift
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 ZKZumoKitErrorCodeINCORRECTCHANGEACCOUNTSELECTEDSwift
let ZKZumoKitErrorCodeINCORRECTCHANGEACCOUNTSELECTED: String -
Insufficient funds for transaction value and network fees.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeINSUFFICIENTFUNDSFORTRANSACTIONSwift
let ZKZumoKitErrorCodeINSUFFICIENTFUNDSFORTRANSACTION: String -
Value exceeds maximum 63 bit precision.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeINT64OVERFLOWSwift
let ZKZumoKitErrorCodeINT64OVERFLOW: String -
Account type not supported by the operation.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDACCOUNTTYPESwift
let ZKZumoKitErrorCodeINVALIDACCOUNTTYPE: String -
Destination address is invalid.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDADDRESSSwift
let ZKZumoKitErrorCodeINVALIDADDRESS: String -
Invalid response received from API.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDAPIRESPONSESwift
let ZKZumoKitErrorCodeINVALIDAPIRESPONSE: String -
Requested private key derivation path is invalid.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDHDWALLETPATHSwift
let ZKZumoKitErrorCodeINVALIDHDWALLETPATH: String -
Invalid metadata. Metadata must be a valid JSON.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDMETADATASwift
let ZKZumoKitErrorCodeINVALIDMETADATA: String -
Invalid mnemonic phrase.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDMNEMONICSwift
let ZKZumoKitErrorCodeINVALIDMNEMONIC: 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 ZKZumoKitErrorCodeINVALIDMNEMONICWORDCOUNTSwift
let ZKZumoKitErrorCodeINVALIDMNEMONICWORDCOUNT: String -
Network type not supported by requested operation.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDNETWORKTYPESwift
let ZKZumoKitErrorCodeINVALIDNETWORKTYPE: String -
“Incorrect password provided.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDPASSWORDSwift
let ZKZumoKitErrorCodeINVALIDPASSWORD: String -
“The provided recovery phrase does not correspond to existing wallet.”
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDRECOVERYPHRASESwift
let ZKZumoKitErrorCodeINVALIDRECOVERYPHRASE: String -
Invalid transaction type.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDTRANSACTIONTYPESwift
let ZKZumoKitErrorCodeINVALIDTRANSACTIONTYPE: String -
Invalid transaction value.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDTRANSACTIONVALUESwift
let ZKZumoKitErrorCodeINVALIDTRANSACTIONVALUE: 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 ZKZumoKitErrorCodeINVALIDUSERTOKENSETSwift
let ZKZumoKitErrorCodeINVALIDUSERTOKENSET: String -
Invalid response received from WebSocket.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDWEBSOCKETRESPONSESwift
let ZKZumoKitErrorCodeINVALIDWEBSOCKETRESPONSE: String -
Transaction already submitted.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeKNOWNTRANSACTIONSwift
let ZKZumoKitErrorCodeKNOWNTRANSACTION: String -
No destination address. In case no transaction data is provided, destination address is obligatory.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeNODESTINATIONADDRESSSwift
let ZKZumoKitErrorCodeNODESTINATIONADDRESS: String -
No nominated account found.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeNONOMINATEDACCOUNTFOUNDSwift
let ZKZumoKitErrorCodeNONOMINATEDACCOUNTFOUND: String -
Requested operation requies existance of a wallet. No wallet was found.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeNOWALLETFOUNDSwift
let ZKZumoKitErrorCodeNOWALLETFOUND: String -
Nonce too long. Maximum supported nonce size is 32 bytes.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeNONCEOVERFLOWSwift
let ZKZumoKitErrorCodeNONCEOVERFLOW: String -
User session has expired.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeNOTAUTHORIZEDSwift
let ZKZumoKitErrorCodeNOTAUTHORIZED: String -
Insufficient funds to pay the transaction fee.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeSENDMAXINSUFFICIENTFUNDSFORFEESwift
let ZKZumoKitErrorCodeSENDMAXINSUFFICIENTFUNDSFORFEE: String -
Transaction amount is too small to send after the fee has been deducted.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeSENDMAXINSUFFICIENTFUNDSFORTRANSACTIONSwift
let ZKZumoKitErrorCodeSENDMAXINSUFFICIENTFUNDSFORTRANSACTION: String -
Something went wrong signing transaction.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeSIGNINGERRORSwift
let ZKZumoKitErrorCodeSIGNINGERROR: String -
Transaction amount exceeds maximum precision.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeTRANSACTIONAMOUNTOVERFLOWSwift
let ZKZumoKitErrorCodeTRANSACTIONAMOUNTOVERFLOW: String -
Transaction amount too small to send.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeTRANSACTIONAMOUNTTOOSMALLSwift
let ZKZumoKitErrorCodeTRANSACTIONAMOUNTTOOSMALL: String -
Invalid response received from ZumoKit Transaction Service API.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeTRANSACTIONSERVICEERRORSwift
let ZKZumoKitErrorCodeTRANSACTIONSERVICEERROR: String -
Resulting transaction is too large.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeTRANSACTIONTOOLARGESwift
let ZKZumoKitErrorCodeTRANSACTIONTOOLARGE: String -
Unspent transaction output could not be signed.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeUTXOSIGNINGERRORSwift
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 ZKZumoKitErrorCodeAMOUNTPROVIDEDWHENSENDMAXSETSwift
let ZKZumoKitErrorCodeAMOUNTPROVIDEDWHENSENDMAXSET: String -
Wallet could not be created. Wallet already exists.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeWALLETLIMITEXCEEDEDSwift
let ZKZumoKitErrorCodeWALLETLIMITEXCEEDED: String -
Base ZumoKit error.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorTypeZUMOKITERRORSwift
let ZKZumoKitErrorTypeZUMOKITERROR: String -
Failure to connect to ZumoKit’s API.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorTypeAPICONNECTIONERRORSwift
let ZKZumoKitErrorTypeAPICONNECTIONERROR: String -
Default error if something goes wrong on our side.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorTypeAPIERRORSwift
let ZKZumoKitErrorTypeAPIERROR: String -
Failed to authenticate with ZumoKit’s API.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorTypeAUTHENTICATIONERRORSwift
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 ZKZumoKitErrorTypeWALLETERRORSwift
let ZKZumoKitErrorTypeWALLETERROR: String -
Invalid request errors arise when request to API has invalid parameters.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorTypeINVALIDREQUESTERRORSwift
let ZKZumoKitErrorTypeINVALIDREQUESTERROR: String -
Too many requests hit the API too quickly.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorTypeRATELIMITERRORSwift
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 ZKZumoKitErrorTypeINVALIDARGUMENTERRORSwift
let ZKZumoKitErrorTypeINVALIDARGUMENTERROR: String -
Declaration
Objective-C
FOUNDATION_EXPORT NSString *__nonnull const ZumoKitDomainSwift
let ZumoKitDomain: String
-
Error type, such as api_connection_error, api_error, wallet_error etc.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorTypeKeySwift
let ZKZumoKitErrorTypeKey: String -
In case an error could be handled programmatically in addition to error type error code is returned.
Declaration
Objective-C
extern NSString *const _Nonnull ZKZumoKitErrorCodeKeySwift
let ZKZumoKitErrorCodeKey: String
View on GitHub
Constants Reference