pub enum WalletRpcRequestBody {
Show 22 variants
EthereumSignTransactionRpcInput(EthereumSignTransactionRpcInput),
EthereumSendTransactionRpcInput(EthereumSendTransactionRpcInput),
EthereumPersonalSignRpcInput(EthereumPersonalSignRpcInput),
EthereumSignTypedDataRpcInput(EthereumSignTypedDataRpcInput),
EthereumSecp256k1SignRpcInput(EthereumSecp256k1SignRpcInput),
EthereumSign7702AuthorizationRpcInput(EthereumSign7702AuthorizationRpcInput),
EthereumSignUserOperationRpcInput(EthereumSignUserOperationRpcInput),
EthereumSendCallsRpcInput(EthereumSendCallsRpcInput),
SolanaSignTransactionRpcInput(SolanaSignTransactionRpcInput),
SolanaSignAndSendTransactionRpcInput(SolanaSignAndSendTransactionRpcInput),
SolanaSignMessageRpcInput(SolanaSignMessageRpcInput),
SparkTransferRpcInput(SparkTransferRpcInput),
SparkGetBalanceRpcInput(SparkGetBalanceRpcInput),
SparkTransferTokensRpcInput(SparkTransferTokensRpcInput),
SparkGetStaticDepositAddressRpcInput(SparkGetStaticDepositAddressRpcInput),
SparkGetClaimStaticDepositQuoteRpcInput(SparkGetClaimStaticDepositQuoteRpcInput),
SparkClaimStaticDepositRpcInput(SparkClaimStaticDepositRpcInput),
SparkCreateLightningInvoiceRpcInput(SparkCreateLightningInvoiceRpcInput),
SparkPayLightningInvoiceRpcInput(SparkPayLightningInvoiceRpcInput),
SparkSignMessageWithIdentityKeyRpcInput(SparkSignMessageWithIdentityKeyRpcInput),
ExportPrivateKeyRpcInput(ExportPrivateKeyRpcInput),
ExportSeedPhraseRpcInput(ExportSeedPhraseRpcInput),
}Expand description
Request body for wallet RPC operations, discriminated by method.
JSON schema
{
"title": "WalletRpcRequestBody",
"description": "Request body for wallet RPC operations, discriminated
by method.",
"oneOf": [
{
"$ref": "#/components/schemas/EthereumSignTransactionRpcInput"
},
{
"$ref": "#/components/schemas/EthereumSendTransactionRpcInput"
},
{
"$ref": "#/components/schemas/EthereumPersonalSignRpcInput"
},
{
"$ref": "#/components/schemas/EthereumSignTypedDataRpcInput"
},
{
"$ref": "#/components/schemas/EthereumSecp256k1SignRpcInput"
},
{
"$ref":
"#/components/schemas/EthereumSign7702AuthorizationRpcInput"
},
{
"$ref": "#/components/schemas/EthereumSignUserOperationRpcInput"
},
{
"$ref": "#/components/schemas/EthereumSendCallsRpcInput"
},
{
"$ref": "#/components/schemas/SolanaSignTransactionRpcInput"
},
{
"$ref": "#/components/schemas/SolanaSignAndSendTransactionRpcInput"
},
{
"$ref": "#/components/schemas/SolanaSignMessageRpcInput"
},
{
"$ref": "#/components/schemas/SparkTransferRpcInput"
},
{
"$ref": "#/components/schemas/SparkGetBalanceRpcInput"
},
{
"$ref": "#/components/schemas/SparkTransferTokensRpcInput"
},
{
"$ref": "#/components/schemas/SparkGetStaticDepositAddressRpcInput"
},
{
"$ref":
"#/components/schemas/SparkGetClaimStaticDepositQuoteRpcInput"
},
{
"$ref": "#/components/schemas/SparkClaimStaticDepositRpcInput"
},
{
"$ref": "#/components/schemas/SparkCreateLightningInvoiceRpcInput"
},
{
"$ref": "#/components/schemas/SparkPayLightningInvoiceRpcInput"
},
{
"$ref":
"#/components/schemas/SparkSignMessageWithIdentityKeyRpcInput"
},
{
"$ref": "#/components/schemas/ExportPrivateKeyRpcInput"
},
{
"$ref": "#/components/schemas/ExportSeedPhraseRpcInput"
}
],
"x-stainless-model": "wallets.wallet_rpc_request_body"
}Variants§
EthereumSignTransactionRpcInput(EthereumSignTransactionRpcInput)
EthereumSendTransactionRpcInput(EthereumSendTransactionRpcInput)
EthereumPersonalSignRpcInput(EthereumPersonalSignRpcInput)
EthereumSignTypedDataRpcInput(EthereumSignTypedDataRpcInput)
EthereumSecp256k1SignRpcInput(EthereumSecp256k1SignRpcInput)
EthereumSign7702AuthorizationRpcInput(EthereumSign7702AuthorizationRpcInput)
EthereumSignUserOperationRpcInput(EthereumSignUserOperationRpcInput)
EthereumSendCallsRpcInput(EthereumSendCallsRpcInput)
SolanaSignTransactionRpcInput(SolanaSignTransactionRpcInput)
SolanaSignAndSendTransactionRpcInput(SolanaSignAndSendTransactionRpcInput)
SolanaSignMessageRpcInput(SolanaSignMessageRpcInput)
SparkTransferRpcInput(SparkTransferRpcInput)
SparkGetBalanceRpcInput(SparkGetBalanceRpcInput)
SparkTransferTokensRpcInput(SparkTransferTokensRpcInput)
SparkGetStaticDepositAddressRpcInput(SparkGetStaticDepositAddressRpcInput)
SparkGetClaimStaticDepositQuoteRpcInput(SparkGetClaimStaticDepositQuoteRpcInput)
SparkClaimStaticDepositRpcInput(SparkClaimStaticDepositRpcInput)
SparkCreateLightningInvoiceRpcInput(SparkCreateLightningInvoiceRpcInput)
SparkPayLightningInvoiceRpcInput(SparkPayLightningInvoiceRpcInput)
SparkSignMessageWithIdentityKeyRpcInput(SparkSignMessageWithIdentityKeyRpcInput)
ExportPrivateKeyRpcInput(ExportPrivateKeyRpcInput)
ExportSeedPhraseRpcInput(ExportSeedPhraseRpcInput)
Trait Implementations§
Source§impl Clone for WalletRpcRequestBody
impl Clone for WalletRpcRequestBody
Source§fn clone(&self) -> WalletRpcRequestBody
fn clone(&self) -> WalletRpcRequestBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WalletRpcRequestBody
impl Debug for WalletRpcRequestBody
Source§impl<'de> Deserialize<'de> for WalletRpcRequestBody
impl<'de> Deserialize<'de> for WalletRpcRequestBody
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&WalletRpcRequestBody> for WalletRpcRequestBody
impl From<&WalletRpcRequestBody> for WalletRpcRequestBody
Source§fn from(value: &WalletRpcRequestBody) -> Self
fn from(value: &WalletRpcRequestBody) -> Self
Converts to this type from the input type.
Source§impl From<EthereumPersonalSignRpcInput> for WalletRpcRequestBody
impl From<EthereumPersonalSignRpcInput> for WalletRpcRequestBody
Source§fn from(value: EthereumPersonalSignRpcInput) -> Self
fn from(value: EthereumPersonalSignRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSecp256k1SignRpcInput> for WalletRpcRequestBody
impl From<EthereumSecp256k1SignRpcInput> for WalletRpcRequestBody
Source§fn from(value: EthereumSecp256k1SignRpcInput) -> Self
fn from(value: EthereumSecp256k1SignRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSendCallsRpcInput> for WalletRpcRequestBody
impl From<EthereumSendCallsRpcInput> for WalletRpcRequestBody
Source§fn from(value: EthereumSendCallsRpcInput) -> Self
fn from(value: EthereumSendCallsRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSendTransactionRpcInput> for WalletRpcRequestBody
impl From<EthereumSendTransactionRpcInput> for WalletRpcRequestBody
Source§fn from(value: EthereumSendTransactionRpcInput) -> Self
fn from(value: EthereumSendTransactionRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSign7702AuthorizationRpcInput> for WalletRpcRequestBody
impl From<EthereumSign7702AuthorizationRpcInput> for WalletRpcRequestBody
Source§fn from(value: EthereumSign7702AuthorizationRpcInput) -> Self
fn from(value: EthereumSign7702AuthorizationRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSignTransactionRpcInput> for WalletRpcRequestBody
impl From<EthereumSignTransactionRpcInput> for WalletRpcRequestBody
Source§fn from(value: EthereumSignTransactionRpcInput) -> Self
fn from(value: EthereumSignTransactionRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSignTypedDataRpcInput> for WalletRpcRequestBody
impl From<EthereumSignTypedDataRpcInput> for WalletRpcRequestBody
Source§fn from(value: EthereumSignTypedDataRpcInput) -> Self
fn from(value: EthereumSignTypedDataRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSignUserOperationRpcInput> for WalletRpcRequestBody
impl From<EthereumSignUserOperationRpcInput> for WalletRpcRequestBody
Source§fn from(value: EthereumSignUserOperationRpcInput) -> Self
fn from(value: EthereumSignUserOperationRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<ExportPrivateKeyRpcInput> for WalletRpcRequestBody
impl From<ExportPrivateKeyRpcInput> for WalletRpcRequestBody
Source§fn from(value: ExportPrivateKeyRpcInput) -> Self
fn from(value: ExportPrivateKeyRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<ExportSeedPhraseRpcInput> for WalletRpcRequestBody
impl From<ExportSeedPhraseRpcInput> for WalletRpcRequestBody
Source§fn from(value: ExportSeedPhraseRpcInput) -> Self
fn from(value: ExportSeedPhraseRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SolanaSignAndSendTransactionRpcInput> for WalletRpcRequestBody
impl From<SolanaSignAndSendTransactionRpcInput> for WalletRpcRequestBody
Source§fn from(value: SolanaSignAndSendTransactionRpcInput) -> Self
fn from(value: SolanaSignAndSendTransactionRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SolanaSignMessageRpcInput> for WalletRpcRequestBody
impl From<SolanaSignMessageRpcInput> for WalletRpcRequestBody
Source§fn from(value: SolanaSignMessageRpcInput) -> Self
fn from(value: SolanaSignMessageRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SolanaSignTransactionRpcInput> for WalletRpcRequestBody
impl From<SolanaSignTransactionRpcInput> for WalletRpcRequestBody
Source§fn from(value: SolanaSignTransactionRpcInput) -> Self
fn from(value: SolanaSignTransactionRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SparkClaimStaticDepositRpcInput> for WalletRpcRequestBody
impl From<SparkClaimStaticDepositRpcInput> for WalletRpcRequestBody
Source§fn from(value: SparkClaimStaticDepositRpcInput) -> Self
fn from(value: SparkClaimStaticDepositRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SparkCreateLightningInvoiceRpcInput> for WalletRpcRequestBody
impl From<SparkCreateLightningInvoiceRpcInput> for WalletRpcRequestBody
Source§fn from(value: SparkCreateLightningInvoiceRpcInput) -> Self
fn from(value: SparkCreateLightningInvoiceRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SparkGetBalanceRpcInput> for WalletRpcRequestBody
impl From<SparkGetBalanceRpcInput> for WalletRpcRequestBody
Source§fn from(value: SparkGetBalanceRpcInput) -> Self
fn from(value: SparkGetBalanceRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SparkGetClaimStaticDepositQuoteRpcInput> for WalletRpcRequestBody
impl From<SparkGetClaimStaticDepositQuoteRpcInput> for WalletRpcRequestBody
Source§fn from(value: SparkGetClaimStaticDepositQuoteRpcInput) -> Self
fn from(value: SparkGetClaimStaticDepositQuoteRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SparkGetStaticDepositAddressRpcInput> for WalletRpcRequestBody
impl From<SparkGetStaticDepositAddressRpcInput> for WalletRpcRequestBody
Source§fn from(value: SparkGetStaticDepositAddressRpcInput) -> Self
fn from(value: SparkGetStaticDepositAddressRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SparkPayLightningInvoiceRpcInput> for WalletRpcRequestBody
impl From<SparkPayLightningInvoiceRpcInput> for WalletRpcRequestBody
Source§fn from(value: SparkPayLightningInvoiceRpcInput) -> Self
fn from(value: SparkPayLightningInvoiceRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SparkSignMessageWithIdentityKeyRpcInput> for WalletRpcRequestBody
impl From<SparkSignMessageWithIdentityKeyRpcInput> for WalletRpcRequestBody
Source§fn from(value: SparkSignMessageWithIdentityKeyRpcInput) -> Self
fn from(value: SparkSignMessageWithIdentityKeyRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SparkTransferRpcInput> for WalletRpcRequestBody
impl From<SparkTransferRpcInput> for WalletRpcRequestBody
Source§fn from(value: SparkTransferRpcInput) -> Self
fn from(value: SparkTransferRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SparkTransferTokensRpcInput> for WalletRpcRequestBody
impl From<SparkTransferTokensRpcInput> for WalletRpcRequestBody
Source§fn from(value: SparkTransferTokensRpcInput) -> Self
fn from(value: SparkTransferTokensRpcInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WalletRpcRequestBody
impl RefUnwindSafe for WalletRpcRequestBody
impl Send for WalletRpcRequestBody
impl Sync for WalletRpcRequestBody
impl Unpin for WalletRpcRequestBody
impl UnsafeUnpin for WalletRpcRequestBody
impl UnwindSafe for WalletRpcRequestBody
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more