macro_rules! unwrap_assets_response {
($variant:ident, $result:expr) => { ... };
}Expand description
Extract the expected payload from a DeDust AssetsResponse.
Returns
ApiClientsError::UnexpectedResponse
when the response variant does not match the requested variant name.