/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
protocol/json/stellar1/local.json
2 836 строк
54 KB
Patrick Crosby
Add flags to CLI send commands for memos (#21927)
07 янв 2020, 22:02
Не верифицирован
07 янв 2020, 22:02
9c1db9c
Код
Авторство
О чём код?
{ "protocol": "local", "imports": [ { "path": "common.avdl", "type": "idl" } ], "types": [ { "type": "record", "name": "WalletAccountLocal", "fields": [ { "type": "AccountID", "name": "accountID" }, { "type": "boolean", "name": "isDefault" }, { "type": "string", "name": "name" }, { "type": "string", "name": "balanceDescription" }, { "type": "string", "name": "seqno" }, { "type": "CurrencyLocal", "name": "currencyLocal" }, { "type": "AccountMode", "name": "accountMode" }, { "type": "boolean", "name": "accountModeEditable" }, { "type": "boolean", "name": "deviceReadOnly" }, { "type": "boolean", "name": "isFunded" }, { "type": "boolean", "name": "canSubmitTx" }, { "type": "boolean", "name": "canAddTrustline" } ] }, { "type": "record", "name": "AccountAssetLocal", "fields": [ { "type": "string", "name": "name" }, { "type": "string", "name": "assetCode" }, { "type": "string", "name": "issuerName" }, { "type": "string", "name": "issuerAccountID" }, { "type": "string", "name": "issuerVerifiedDomain" }, { "type": "string", "name": "balanceTotal" }, { "type": "string", "name": "balanceAvailableToSend" }, { "type": "string", "name": "worthCurrency" }, { "type": "string", "name": "worth" }, { "type": "string", "name": "availableToSendWorth" }, { "type": { "type": "array", "items": "AccountReserve" }, "name": "reserves" }, { "type": "string", "name": "desc" }, { "type": "string", "name": "infoUrl" }, { "type": "string", "name": "infoUrlText" }, { "type": "boolean", "name": "showDepositButton" }, { "type": "string", "name": "depositButtonText" }, { "type": "boolean", "name": "showWithdrawButton" }, { "type": "string", "name": "withdrawButtonText" } ] }, { "type": "enum", "name": "BalanceDelta", "symbols": [ "NONE_0", "INCREASE_1", "DECREASE_2" ] }, { "type": "enum", "name": "PaymentStatus", "symbols": [ "NONE_0", "PENDING_1", "CLAIMABLE_2", "COMPLETED_3", "ERROR_4", "UNKNOWN_5", "CANCELED_6" ] }, { "type": "enum", "name": "ParticipantType", "symbols": [ "NONE_0", "KEYBASE_1", "STELLAR_2", "SBS_3", "OWNACCOUNT_4" ] }, { "type": "record", "name": "PaymentOrErrorLocal", "fields": [ { "type": [ null, "PaymentLocal" ], "name": "payment" }, { "type": [ null, "string" ], "name": "err" } ] }, { "type": "record", "name": "PaymentsPageLocal", "fields": [ { "type": { "type": "array", "items": "PaymentOrErrorLocal" }, "name": "payments" }, { "type": [ null, "PageCursor" ], "name": "cursor" }, { "type": [ null, "PaymentID" ], "name": "oldestUnread" } ] }, { "type": "record", "name": "PaymentLocal", "fields": [ { "type": "PaymentID", "name": "id" }, { "type": "TransactionID", "name": "txID" }, { "type": "TimeMs", "name": "time" }, { "type": "PaymentStatus", "name": "statusSimplified" }, { "type": "string", "name": "statusDescription" }, { "type": "string", "name": "statusDetail" }, { "type": "boolean", "name": "showCancel" }, { "type": "string", "name": "amountDescription" }, { "type": "BalanceDelta", "name": "delta" }, { "type": "string", "name": "worth" }, { "type": "string", "name": "worthAtSendTime" }, { "type": "string", "name": "issuerDescription" }, { "type": [ null, "AccountID" ], "name": "issuerAccountID" }, { "type": "ParticipantType", "name": "fromType" }, { "type": "ParticipantType", "name": "toType" }, { "type": "string", "name": "assetCode" }, { "type": "AccountID", "name": "fromAccountID" }, { "type": "string", "name": "fromAccountName" }, { "type": "string", "name": "fromUsername" }, { "type": [ null, "AccountID" ], "name": "toAccountID" }, { "type": "string", "name": "toAccountName" }, { "type": "string", "name": "toUsername" }, { "type": "string", "name": "toAssertion" }, { "type": "string", "name": "originalToAssertion" }, { "type": "string", "name": "note" }, { "type": "string", "name": "noteErr" }, { "type": "string", "name": "sourceAmountMax" }, { "type": "string", "name": "sourceAmountActual" }, { "type": "Asset", "name": "sourceAsset" }, { "type": "string", "name": "sourceConvRate" }, { "type": "boolean", "name": "isAdvanced" }, { "type": "string", "name": "summaryAdvanced" }, { "type": { "type": "array", "items": "string" }, "name": "operations" }, { "type": "boolean", "name": "unread" }, { "type": "string", "name": "batchID" }, { "type": "boolean", "name": "fromAirdrop" }, { "type": "boolean", "name": "isInflation" }, { "type": [ null, "string" ], "name": "inflationSource" }, { "type": [ null, "PaymentTrustlineLocal" ], "name": "trustline" } ] }, { "type": "record", "name": "PaymentDetailsLocal", "fields": [ { "type": "PaymentLocal", "name": "summary" }, { "type": "PaymentDetailsOnlyLocal", "name": "details" } ] }, { "type": "record", "name": "PaymentDetailsOnlyLocal", "fields": [ { "type": "string", "name": "publicNote" }, { "type": "string", "name": "publicNoteType" }, { "type": "string", "name": "externalTxURL", "lint": "ignore" }, { "type": "string", "name": "feeChargedDescription" }, { "type": { "type": "array", "items": "Asset" }, "name": "pathIntermediate" } ] }, { "type": "record", "name": "PaymentTrustlineLocal", "fields": [ { "type": "Asset", "name": "asset" }, { "type": "boolean", "name": "remove" } ] }, { "type": "record", "name": "CurrencyLocal", "fields": [ { "type": "string", "name": "description" }, { "type": "OutsideCurrencyCode", "name": "code" }, { "type": "string", "name": "symbol" }, { "type": "string", "name": "name" } ] }, { "type": "record", "name": "SendAssetChoiceLocal", "fields": [ { "type": "Asset", "name": "asset" }, { "type": "boolean", "name": "enabled" }, { "type": "string", "name": "left" }, { "type": "string", "name": "right" }, { "type": "string", "name": "subtext" } ] }, { "type": "record", "name": "BuildPaymentID", "fields": [], "typedef": "string" }, { "type": "record", "name": "BuildPaymentResLocal", "fields": [ { "type": "boolean", "name": "readyToReview" }, { "type": "AccountID", "name": "from" }, { "type": "string", "name": "toErrMsg" }, { "type": "string", "name": "amountErrMsg" }, { "type": "string", "name": "secretNoteErrMsg" }, { "type": "string", "name": "publicMemoErrMsg" }, { "type": "string", "name": "publicMemoOverride" }, { "type": "string", "name": "worthDescription" }, { "type": "string", "name": "worthInfo" }, { "type": "string", "name": "worthAmount" }, { "type": "string", "name": "worthCurrency" }, { "type": "string", "name": "displayAmountXLM", "lint": "ignore" }, { "type": "string", "name": "displayAmountFiat" }, { "type": "boolean", "name": "sendingIntentionXLM", "lint": "ignore" }, { "type": "string", "name": "amountAvailable" }, { "type": { "type": "array", "items": "SendBannerLocal" }, "name": "banners" } ] }, { "type": "enum", "name": "AdvancedBanner", "symbols": [ "NO_BANNER_0", "SENDER_BANNER_1", "RECEIVER_BANNER_2" ] }, { "type": "record", "name": "SendBannerLocal", "fields": [ { "type": "string", "name": "level" }, { "type": "string", "name": "message" }, { "type": "boolean", "name": "proofsChanged" }, { "type": "AdvancedBanner", "name": "offerAdvancedSendForm" } ] }, { "type": "record", "name": "SendPaymentResLocal", "fields": [ { "type": "KeybaseTransactionID", "name": "kbTxID" }, { "type": "boolean", "name": "pending" }, { "type": "string", "name": "jumpToChat" } ] }, { "type": "record", "name": "BuildRequestResLocal", "fields": [ { "type": "boolean", "name": "readyToRequest" }, { "type": "string", "name": "toErrMsg" }, { "type": "string", "name": "amountErrMsg" }, { "type": "string", "name": "secretNoteErrMsg" }, { "type": "string", "name": "worthDescription" }, { "type": "string", "name": "worthInfo" }, { "type": "string", "name": "displayAmountXLM", "lint": "ignore" }, { "type": "string", "name": "displayAmountFiat" }, { "type": "boolean", "name": "sendingIntentionXLM", "lint": "ignore" }, { "type": { "type": "array", "items": "SendBannerLocal" }, "name": "banners" } ] }, { "type": "record", "name": "RequestDetailsLocal", "fields": [ { "type": "KeybaseRequestID", "name": "id" }, { "type": "string", "name": "fromAssertion" }, { "type": "boolean", "name": "fromCurrentUser" }, { "type": "ParticipantType", "name": "toUserType" }, { "type": "string", "name": "toAssertion" }, { "type": "string", "name": "amount" }, { "type": [ null, "Asset" ], "name": "asset" }, { "type": [ null, "OutsideCurrencyCode" ], "name": "currency" }, { "type": "string", "name": "amountDescription" }, { "type": "string", "name": "worthAtRequestTime" }, { "type": "RequestStatus", "name": "status" } ] }, { "type": "record", "name": "InflationDestinationTag", "fields": [], "typedef": "string" }, { "type": "record", "name": "PredefinedInflationDestination", "fields": [ { "type": "InflationDestinationTag", "name": "tag" }, { "type": "string", "name": "name" }, { "type": "boolean", "name": "recommended" }, { "type": "AccountID", "name": "accountID" }, { "type": "string", "name": "url" } ] }, { "type": "record", "name": "InflationDestinationResultLocal", "fields": [ { "type": [ null, "AccountID" ], "name": "destination" }, { "type": [ null, "PredefinedInflationDestination" ], "name": "knownDestination" }, { "type": "boolean", "name": "self" } ] }, { "type": "record", "name": "AirdropDetails", "fields": [ { "type": "boolean", "name": "isPromoted" }, { "type": "string", "name": "details" }, { "type": "string", "name": "disclaimer" } ] }, { "type": "record", "name": "AirdropState", "fields": [], "typedef": "string" }, { "type": "record", "name": "AirdropQualification", "fields": [ { "type": "string", "name": "title" }, { "type": "string", "name": "subtitle" }, { "type": "boolean", "name": "valid" } ] }, { "type": "record", "name": "AirdropStatus", "fields": [ { "type": "AirdropState", "name": "state" }, { "type": { "type": "array", "items": "AirdropQualification" }, "name": "rows" } ] }, { "type": "record", "name": "RecipientTrustlinesLocal", "fields": [ { "type": { "type": "array", "items": "Balance" }, "name": "trustlines" }, { "type": "ParticipantType", "name": "recipientType" } ] }, { "type": "record", "name": "PaymentPathLocal", "fields": [ { "type": "string", "name": "sourceDisplay" }, { "type": "string", "name": "sourceMaxDisplay" }, { "type": "string", "name": "destinationDisplay" }, { "type": "string", "name": "exchangeRate" }, { "type": "string", "name": "amountError" }, { "type": "AccountID", "name": "destinationAccount" }, { "type": "PaymentPath", "name": "fullPath" } ] }, { "type": "record", "name": "AssetActionResultLocal", "fields": [ { "type": [ null, "string" ], "name": "externalUrl" }, { "type": [ null, "string" ], "name": "messageFromAnchor" } ] }, { "type": "record", "name": "SendResultCLILocal", "fields": [ { "type": "KeybaseTransactionID", "name": "kbTxID" }, { "type": "TransactionID", "name": "txID" } ] }, { "type": "enum", "name": "PublicNoteType", "symbols": [ "NONE_0", "TEXT_1", "ID_2", "HASH_3", "RETURN_4" ] }, { "type": "record", "name": "PaymentOrErrorCLILocal", "fields": [ { "type": [ null, "PaymentCLILocal" ], "name": "payment" }, { "type": [ null, "string" ], "name": "err" } ] }, { "type": "record", "name": "PaymentCLILocal", "fields": [ { "type": "TransactionID", "name": "txID" }, { "type": "TimeMs", "name": "time" }, { "type": "string", "name": "status" }, { "type": "string", "name": "statusDetail" }, { "type": "string", "name": "amount" }, { "type": "Asset", "name": "asset" }, { "type": [ null, "string" ], "name": "displayAmount" }, { "type": [ null, "string" ], "name": "displayCurrency" }, { "type": "string", "name": "sourceAmountMax" }, { "type": "string", "name": "sourceAmountActual" }, { "type": "Asset", "name": "sourceAsset" }, { "type": "boolean", "name": "isAdvanced" }, { "type": "string", "name": "summaryAdvanced" }, { "type": { "type": "array", "items": "string" }, "name": "operations" }, { "type": "AccountID", "name": "fromStellar" }, { "type": [ null, "AccountID" ], "name": "toStellar" }, { "type": [ null, "string" ], "name": "fromUsername" }, { "type": [ null, "string" ], "name": "toUsername" }, { "type": [ null, "string" ], "name": "toAssertion" }, { "type": "string", "name": "note" }, { "type": "string", "name": "noteErr" }, { "type": "boolean", "name": "unread" }, { "type": "string", "name": "publicNote" }, { "type": "string", "name": "publicNoteType" }, { "type": "string", "name": "feeChargedDescription" } ] }, { "type": "record", "name": "OwnAccountCLILocal", "fields": [ { "type": "AccountID", "name": "accountID" }, { "type": "boolean", "name": "isPrimary" }, { "type": "string", "name": "name" }, { "type": { "type": "array", "items": "Balance" }, "name": "balance" }, { "type": [ null, "OutsideExchangeRate" ], "name": "exchangeRate" }, { "type": "AccountMode", "name": "accountMode" } ] }, { "type": "record", "name": "LookupResultCLILocal", "fields": [ { "type": "AccountID", "name": "accountID" }, { "type": [ null, "string" ], "name": "username" } ] }, { "type": "record", "name": "BatchPaymentError", "fields": [ { "type": "string", "name": "message" }, { "type": "int", "name": "code" } ] }, { "type": "record", "name": "BatchPaymentResult", "fields": [ { "type": "string", "name": "username" }, { "type": "TimeMs", "name": "startTime" }, { "type": "TimeMs", "name": "submittedTime" }, { "type": "TimeMs", "name": "endTime" }, { "type": "TransactionID", "name": "txID" }, { "type": "PaymentStatus", "name": "status" }, { "type": "string", "name": "statusDescription" }, { "type": [ null, "BatchPaymentError" ], "name": "error" } ] }, { "type": "record", "name": "BatchResultLocal", "fields": [ { "type": "TimeMs", "name": "startTime" }, { "type": "TimeMs", "name": "preparedTime" }, { "type": "TimeMs", "name": "allSubmittedTime" }, { "type": "TimeMs", "name": "allCompleteTime" }, { "type": "TimeMs", "name": "endTime" }, { "type": { "type": "array", "items": "BatchPaymentResult" }, "name": "payments" }, { "type": "TimeMs", "name": "overallDurationMs" }, { "type": "TimeMs", "name": "prepareDurationMs" }, { "type": "TimeMs", "name": "submitDurationMs" }, { "type": "TimeMs", "name": "waitPaymentsDurationMs" }, { "type": "TimeMs", "name": "waitChatDurationMs" }, { "type": "int", "name": "countSuccess" }, { "type": "int", "name": "countDirect" }, { "type": "int", "name": "countRelay" }, { "type": "int", "name": "countError" }, { "type": "int", "name": "countPending" }, { "type": "TimeMs", "name": "avgDurationMs" }, { "type": "TimeMs", "name": "avgSuccessDurationMs" }, { "type": "TimeMs", "name": "avgDirectDurationMs" }, { "type": "TimeMs", "name": "avgRelayDurationMs" }, { "type": "TimeMs", "name": "avgErrorDurationMs" } ] }, { "type": "record", "name": "BatchPaymentArg", "fields": [ { "type": "string", "name": "recipient" }, { "type": "string", "name": "amount" }, { "type": "string", "name": "message" } ] }, { "type": "record", "name": "TxDisplaySummary", "fields": [ { "type": "AccountID", "name": "source" }, { "type": "int", "name": "fee" }, { "type": "string", "name": "memo" }, { "type": "string", "name": "memoType" }, { "type": { "type": "array", "items": "string" }, "name": "operations" } ] }, { "type": "record", "name": "ValidateStellarURIResultLocal", "fields": [ { "type": "string", "name": "operation" }, { "type": "string", "name": "originDomain" }, { "type": "string", "name": "message" }, { "type": "string", "name": "callbackURL", "lint": "ignore" }, { "type": "string", "name": "xdr" }, { "type": "TxDisplaySummary", "name": "summary" }, { "type": "string", "name": "recipient" }, { "type": "string", "name": "amount" }, { "type": "string", "name": "assetCode" }, { "type": "string", "name": "assetIssuer" }, { "type": "string", "name": "memo" }, { "type": "string", "name": "memoType" }, { "type": "string", "name": "displayAmountFiat" }, { "type": "string", "name": "availableToSendNative" }, { "type": "string", "name": "availableToSendFiat" }, { "type": "boolean", "name": "signed" } ] }, { "type": "record", "name": "PartnerUrl", "fields": [ { "type": "string", "name": "url" }, { "type": "string", "name": "title" }, { "type": "string", "name": "description" }, { "type": "string", "name": "iconFilename", "jsonkey": "icon_filename" }, { "type": "boolean", "name": "adminOnly", "jsonkey": "admin_only" }, { "type": "boolean", "name": "canPurchase", "jsonkey": "can_purchase" }, { "type": "string", "name": "extra" } ] }, { "type": "record", "name": "SignXdrResult", "fields": [ { "type": "string", "name": "singedTx" }, { "type": "AccountID", "name": "accountID" }, { "type": [ null, "string" ], "name": "submitErr" }, { "type": [ null, "TransactionID" ], "name": "submitTxID" } ] }, { "type": "record", "name": "StaticConfig", "fields": [ { "type": "int", "name": "paymentNoteMaxLength" }, { "type": "int", "name": "requestNoteMaxLength" }, { "type": "int", "name": "publicMemoMaxLength" } ] } ], "messages": { "getWalletAccountsLocal": { "request": [ { "name": "sessionID", "type": "int" } ], "response": { "type": "array", "items": "WalletAccountLocal" } }, "getWalletAccountLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" } ], "response": "WalletAccountLocal" }, "getAccountAssetsLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" } ], "response": { "type": "array", "items": "AccountAssetLocal" } }, "getPaymentsLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" }, { "name": "cursor", "type": [ null, "PageCursor" ] } ], "response": "PaymentsPageLocal" }, "getPendingPaymentsLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" } ], "response": { "type": "array", "items": "PaymentOrErrorLocal" } }, "markAsReadLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" }, { "name": "mostRecentID", "type": "PaymentID" } ], "response": null }, "getPaymentDetailsLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" }, { "name": "id", "type": "PaymentID" } ], "response": "PaymentDetailsLocal" }, "getGenericPaymentDetailsLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "id", "type": "PaymentID" } ], "response": "PaymentDetailsLocal" }, "getDisplayCurrenciesLocal": { "request": [ { "name": "sessionID", "type": "int" } ], "response": { "type": "array", "items": "CurrencyLocal" } }, "validateAccountIDLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" } ], "response": null }, "validateSecretKeyLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "secretKey", "type": "SecretKey" } ], "response": null }, "validateAccountNameLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "name", "type": "string" } ], "response": null }, "changeWalletAccountNameLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" }, { "name": "newName", "type": "string" } ], "response": "WalletAccountLocal" }, "setWalletAccountAsDefaultLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" } ], "response": { "type": "array", "items": "WalletAccountLocal" } }, "deleteWalletAccountLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" }, { "name": "userAcknowledged", "type": "string" } ], "response": null }, "linkNewWalletAccountLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "secretKey", "type": "SecretKey" }, { "name": "name", "type": "string" } ], "response": "AccountID" }, "createWalletAccountLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "name", "type": "string" } ], "response": "AccountID" }, "changeDisplayCurrencyLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" }, { "name": "currency", "type": "OutsideCurrencyCode" } ], "response": "CurrencyLocal" }, "getDisplayCurrencyLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": [ null, "AccountID" ] } ], "response": "CurrencyLocal" }, "hasAcceptedDisclaimerLocal": { "request": [ { "name": "sessionID", "type": "int" } ], "response": "bool" }, "acceptDisclaimerLocal": { "request": [ { "name": "sessionID", "type": "int" } ], "response": null }, "getWalletAccountPublicKeyLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" } ], "response": "string" }, "getWalletAccountSecretKeyLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" } ], "response": "SecretKey" }, "getSendAssetChoicesLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "from", "type": "AccountID" }, { "name": "to", "type": "string" } ], "response": { "type": "array", "items": "SendAssetChoiceLocal" } }, "startBuildPaymentLocal": { "request": [ { "name": "sessionID", "type": "int" } ], "response": "BuildPaymentID" }, "stopBuildPaymentLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "bid", "type": "BuildPaymentID" } ], "response": null }, "buildPaymentLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "bid", "type": "BuildPaymentID" }, { "name": "from", "type": "AccountID" }, { "name": "fromPrimaryAccount", "type": "boolean" }, { "name": "to", "type": "string" }, { "name": "toIsAccountID", "type": "boolean" }, { "name": "amount", "type": "string" }, { "name": "currency", "type": [ null, "OutsideCurrencyCode" ] }, { "name": "asset", "type": [ null, "Asset" ] }, { "name": "secretNote", "type": "string" }, { "name": "publicMemo", "type": "string" } ], "response": "BuildPaymentResLocal" }, "reviewPaymentLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "reviewID", "type": "int" }, { "name": "bid", "type": "BuildPaymentID" } ], "response": null }, "sendPaymentLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "bid", "type": "BuildPaymentID" }, { "name": "bypassBid", "type": "boolean" }, { "name": "bypassReview", "type": "boolean" }, { "name": "from", "type": "AccountID" }, { "name": "to", "type": "string" }, { "name": "toIsAccountID", "type": "boolean" }, { "name": "amount", "type": "string" }, { "name": "asset", "type": "Asset" }, { "name": "worthAmount", "type": "string" }, { "name": "worthCurrency", "type": [ null, "OutsideCurrencyCode" ] }, { "name": "secretNote", "type": "string" }, { "name": "publicMemo", "type": "string" }, { "name": "quickReturn", "type": "boolean" } ], "response": "SendPaymentResLocal" }, "sendPathLocal": { "request": [ { "name": "source", "type": "AccountID" }, { "name": "recipient", "type": "string" }, { "name": "path", "type": "PaymentPath" }, { "name": "note", "type": "string" }, { "name": "publicNote", "type": "string" } ], "response": "SendPaymentResLocal" }, "buildRequestLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "to", "type": "string" }, { "name": "amount", "type": "string" }, { "name": "asset", "type": [ null, "Asset" ] }, { "name": "currency", "type": [ null, "OutsideCurrencyCode" ] }, { "name": "secretNote", "type": "string" } ], "response": "BuildRequestResLocal" }, "getRequestDetailsLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "reqID", "type": "KeybaseRequestID" } ], "response": "RequestDetailsLocal" }, "cancelRequestLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "reqID", "type": "KeybaseRequestID" } ], "response": null }, "makeRequestLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "recipient", "type": "string" }, { "name": "asset", "type": [ null, "Asset" ] }, { "name": "currency", "type": [ null, "OutsideCurrencyCode" ] }, { "name": "amount", "type": "string" }, { "name": "note", "type": "string" } ], "response": "KeybaseRequestID" }, "setAccountMobileOnlyLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" } ], "response": null }, "setAccountAllDevicesLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" } ], "response": null }, "isAccountMobileOnlyLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" } ], "response": "boolean" }, "cancelPaymentLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "paymentID", "type": "PaymentID" } ], "response": "RelayClaimResult" }, "getPredefinedInflationDestinationsLocal": { "request": [ { "name": "sessionID", "type": "int" } ], "response": { "type": "array", "items": "PredefinedInflationDestination" } }, "setInflationDestinationLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" }, { "name": "destination", "type": "AccountID" } ], "response": null }, "getInflationDestinationLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" } ], "response": "InflationDestinationResultLocal" }, "airdropDetailsLocal": { "request": [ { "name": "sessionID", "type": "int" } ], "response": "AirdropDetails" }, "airdropStatusLocal": { "request": [ { "name": "sessionID", "type": "int" } ], "response": "AirdropStatus" }, "airdropRegisterLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "register", "type": "boolean" } ], "response": null }, "fuzzyAssetSearchLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "searchString", "type": "string" } ], "response": { "type": "array", "items": "Asset" } }, "listPopularAssetsLocal": { "request": [ { "name": "sessionID", "type": "int" } ], "response": "AssetListResult" }, "addTrustlineLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" }, { "name": "trustline", "type": "Trustline" }, { "name": "limit", "type": "string" } ], "response": null }, "deleteTrustlineLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" }, { "name": "trustline", "type": "Trustline" } ], "response": null }, "changeTrustlineLimitLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" }, { "name": "trustline", "type": "Trustline" }, { "name": "limit", "type": "string" } ], "response": null }, "getTrustlinesLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "accountID", "type": "AccountID" } ], "response": { "type": "array", "items": "Balance" } }, "getTrustlinesForRecipientLocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "recipient", "type": "string" } ], "response": "RecipientTrustlinesLocal" }, "findPaymentPathLocal": { "request": [ { "name": "from", "type": "AccountID" }, { "name": "to", "type": "string" }, { "name": "sourceAsset", "type": "Asset" }, { "name": "destinationAsset", "type": "Asset" }, { "name": "amount", "type": "string" } ], "response": "PaymentPathLocal" }, "assetDepositLocal": { "request": [ { "name": "accountID", "type": "AccountID" }, { "name": "asset", "type": "Asset" } ], "response": "AssetActionResultLocal" }, "assetWithdrawLocal": { "request": [ { "name": "accountID", "type": "AccountID" }, { "name": "asset", "type": "Asset" } ], "response": "AssetActionResultLocal" }, "balancesLocal": { "request": [ { "name": "accountID", "type": "AccountID" } ], "response": { "type": "array", "items": "Balance" } }, "sendCLILocal": { "request": [ { "name": "recipient", "type": "string" }, { "name": "amount", "type": "string" }, { "name": "asset", "type": "Asset" }, { "name": "note", "type": "string" }, { "name": "displayAmount", "type": "string" }, { "name": "displayCurrency", "type": "string" }, { "name": "forceRelay", "type": "boolean" }, { "name": "publicNote", "type": "string" }, { "name": "publicNoteType", "type": "PublicNoteType" }, { "name": "fromAccountID", "type": "AccountID" } ], "response": "SendResultCLILocal" }, "sendPathCLILocal": { "request": [ { "name": "source", "type": "AccountID" }, { "name": "recipient", "type": "string" }, { "name": "path", "type": "PaymentPath" }, { "name": "note", "type": "string" }, { "name": "publicNote", "type": "string" }, { "name": "publicNoteType", "type": "PublicNoteType" } ], "response": "SendResultCLILocal" }, "accountMergeCLILocal": { "request": [ { "name": "fromAccountID", "type": "AccountID" }, { "name": "fromSecretKey", "type": [ null, "SecretKey" ] }, { "name": "to", "type": "string" } ], "response": "TransactionID" }, "claimCLILocal": { "request": [ { "name": "txID", "type": "string" }, { "name": "into", "type": [ null, "AccountID" ] } ], "response": "RelayClaimResult" }, "recentPaymentsCLILocal": { "request": [ { "name": "accountID", "type": [ null, "AccountID" ] } ], "response": { "type": "array", "items": "PaymentOrErrorCLILocal" } }, "paymentDetailCLILocal": { "request": [ { "name": "txID", "type": "string" } ], "response": "PaymentCLILocal" }, "walletInitLocal": { "request": [], "response": null }, "walletDumpLocal": { "request": [], "response": "Bundle" }, "walletGetAccountsCLILocal": { "request": [], "response": { "type": "array", "items": "OwnAccountCLILocal" } }, "ownAccountLocal": { "request": [ { "name": "accountID", "type": "AccountID" } ], "response": "boolean" }, "importSecretKeyLocal": { "request": [ { "name": "secretKey", "type": "SecretKey" }, { "name": "makePrimary", "type": "boolean" }, { "name": "name", "type": "string" } ], "response": null }, "exportSecretKeyLocal": { "request": [ { "name": "accountID", "type": "AccountID" } ], "response": "SecretKey" }, "setDisplayCurrency": { "request": [ { "name": "accountID", "type": "AccountID" }, { "name": "currency", "type": "string" } ], "response": null }, "exchangeRateLocal": { "request": [ { "name": "currency", "type": "OutsideCurrencyCode" } ], "response": "OutsideExchangeRate" }, "getAvailableLocalCurrencies": { "request": [], "response": { "type": "map", "values": "OutsideCurrencyDefinition", "keys": "OutsideCurrencyCode" } }, "formatLocalCurrencyString": { "request": [ { "name": "amount", "type": "string" }, { "name": "code", "type": "OutsideCurrencyCode" } ], "response": "string" }, "makeRequestCLILocal": { "request": [ { "name": "recipient", "type": "string" }, { "name": "asset", "type": [ null, "Asset" ] }, { "name": "currency", "type": [ null, "OutsideCurrencyCode" ] }, { "name": "amount", "type": "string" }, { "name": "note", "type": "string" } ], "response": "KeybaseRequestID" }, "lookupCLILocal": { "request": [ { "name": "name", "type": "string" } ], "response": "LookupResultCLILocal" }, "batchLocal": { "request": [ { "name": "batchID", "type": "string" }, { "name": "timeoutSecs", "type": "int" }, { "name": "payments", "type": { "type": "array", "items": "BatchPaymentArg" } }, { "name": "useMulti", "type": "boolean" } ], "response": "BatchResultLocal" }, "validateStellarURILocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "inputURI", "type": "string" } ], "response": "ValidateStellarURIResultLocal" }, "approveTxURILocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "inputURI", "type": "string" } ], "response": "TransactionID" }, "approvePayURILocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "inputURI", "type": "string" }, { "name": "amount", "type": "string" }, { "name": "fromCLI", "type": "boolean" } ], "response": "TransactionID" }, "approvePathURILocal": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "inputURI", "type": "string" }, { "name": "fullPath", "type": "PaymentPath" }, { "name": "fromCLI", "type": "boolean" } ], "response": "TransactionID" }, "getPartnerUrlsLocal": { "request": [ { "name": "sessionID", "type": "int" } ], "response": { "type": "array", "items": "PartnerUrl" } }, "signTransactionXdrLocal": { "request": [ { "name": "envelopeXdr", "type": "string" }, { "name": "accountID", "type": [ null, "AccountID" ] }, { "name": "submit", "type": "boolean" } ], "response": "SignXdrResult" }, "getStaticConfigLocal": { "request": [], "response": "StaticConfig" } }, "namespace": "stellar.1" }