pub struct ConstructionPreprocessResponse {
pub options: Option<Value>,
pub required_public_keys: Option<Vec<AccountIdentifier>>,
}
Expand description
ConstructionPreprocessResponse : ConstructionPreprocessResponse contains options
that will be sent unmodified to /construction/metadata
. If it is not necessary to make a request to /construction/metadata
, options
should be omitted. Some blockchains require the PublicKey of particular AccountIdentifiers to construct a valid transaction. To fetch these PublicKeys, populate required_public_keys
with the AccountIdentifiers associated with the desired PublicKeys. If it is not necessary to retrieve any PublicKeys for construction, required_public_keys
should be omitted.
Fields§
§options: Option<Value>
The options that will be sent directly to /construction/metadata
by the caller.
required_public_keys: Option<Vec<AccountIdentifier>>
Implementations§
source§impl ConstructionPreprocessResponse
impl ConstructionPreprocessResponse
sourcepub fn new() -> ConstructionPreprocessResponse
pub fn new() -> ConstructionPreprocessResponse
ConstructionPreprocessResponse contains options
that will be sent unmodified to /construction/metadata
. If it is not necessary to make a request to /construction/metadata
, options
should be omitted. Some blockchains require the PublicKey of particular AccountIdentifiers to construct a valid transaction. To fetch these PublicKeys, populate required_public_keys
with the AccountIdentifiers associated with the desired PublicKeys. If it is not necessary to retrieve any PublicKeys for construction, required_public_keys
should be omitted.
Trait Implementations§
source§impl Clone for ConstructionPreprocessResponse
impl Clone for ConstructionPreprocessResponse
source§fn clone(&self) -> ConstructionPreprocessResponse
fn clone(&self) -> ConstructionPreprocessResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ConstructionPreprocessResponse
impl Default for ConstructionPreprocessResponse
source§fn default() -> ConstructionPreprocessResponse
fn default() -> ConstructionPreprocessResponse
source§impl<'de> Deserialize<'de> for ConstructionPreprocessResponse
impl<'de> Deserialize<'de> for ConstructionPreprocessResponse
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>,
source§impl PartialEq<ConstructionPreprocessResponse> for ConstructionPreprocessResponse
impl PartialEq<ConstructionPreprocessResponse> for ConstructionPreprocessResponse
source§fn eq(&self, other: &ConstructionPreprocessResponse) -> bool
fn eq(&self, other: &ConstructionPreprocessResponse) -> bool
self
and other
values to be equal, and is used
by ==
.